Mega Code Archive

 
Categories / Ruby / Method
 

You can a function with or without parenthesis

string = 'My first string'                   # => "My first string" string.length                                # => 15 string.length()                              # => 15