/ Published in: Ruby
                    
                                        What a gotcha!
                
                            
                                Expand |
                                Embed | Plain Text
                            
                        
                        Copy this code and paste it in your HTML
 # immediate values # e.g. true, false and Integers a = true # => true b = true # => true def a.foo "bar" end a.foo # => "bar" b.foo # => "bar" # referenced values c = "foo" # => "foo" d = "foo" # => "foo" def c.meep "blubb" end d.meep # => undefined method
Comments
                    Subscribe to comments
                
                