1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* properties.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32282 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2011-06-29 03:35:48 +00:00
parent 926301969f
commit 3cd9a01e6f

View file

@ -11,7 +11,7 @@ class Bar
@foo = Foo.new
end
attr_reader :foo
def foo?(foo)
@foo == foo
end