Created
April 25, 2012 07:42
-
-
Save hanshasselberg/2487849 to your computer and use it in GitHub Desktop.
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 Fu | |
private | |
attr_accessor :bar | |
end |
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
$ ruby --version | |
ruby 1.9.3p125 (2012-02-16 revision 34643) [x86_64-darwin11.3.0] | |
$ ruby -W fu.rb | |
fu.rb:3: warning: private attribute? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment