Tag: Methods
methods
Metadata 2022-06-01 22:28 | methods | Doriel Rivalet Content implicit return 1 2 3 4 5 def my_name "Joe Smith" end puts my_name #=> "Joe Smith" 1 2 3 4 5 6 7 8 9 10 11 12 13 14 def even_odd(number) unless number....
oop
Metadata 2022-06-06 01:22 | oop | Doriel Rivalet Content lambdas are nameless methods/functions another name for properties are attributes classes have properties and objects have attributes?...