Created
May 31, 2011 07:02
-
-
Save beoran/1000089 to your computer and use it in GitHub Desktop.
Clarify end of Ruby blocks
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
module Foo | |
class Bar | |
def initialize(a) | |
@a = a | |
end # def initialize | |
def frob | |
if @a | |
puts @a | |
else | |
puts "@a not set" | |
end # if | |
end # def frob | |
end # class Bar | |
end # module Foo |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment