Last Updated: February 25, 2016
·
382
· mejarc

Whitespace in irb

...Makes a difference.

irb(main):017:0> class Greeter
irb(main):018:1>   attr_accessor :name
irb(main):019:1> end

 irb(main):022:0> m.respond_to?('name =')
=> false

irb(main):023:0> m.respond_to?('name=')
=> true