Created
May 14, 2016 22:33
-
-
Save EdDeAlmeidaJr/e896c91067bc8fa4acdff934ab78cf4a to your computer and use it in GitHub Desktop.
Ruby methods inside methods
This file contains 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
def alfa | |
def beta | |
puts 'Method beta' | |
end | |
puts 'Method alfa' | |
beta | |
end | |
alfa | |
beta |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment