Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ rails console
- Struct.new.Loading development environment (Rails 3.0.9)
- ✈ > class Huh < Struct.new(:test); end
- => nil
- ✈ > Huh.new.link
- NoMethodError: private method `link' called for #<struct Huh test=nil>
- from (irb):7
- ✈ > Huh.new.method :link
- => #<Method: Huh(RakeFileUtils)#link>
Add Comment
Please, Sign In to add comment