Created
March 27, 2015 05:20
-
-
Save KamilLelonek/01fd968863fb97c4fe94 to your computer and use it in GitHub Desktop.
How to delegate methods in Ruby
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class SandwichMaker | |
def make_me_a_sandwich | |
puts 'OKAY' | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment