['cat', 'dog'] %w[ cat dog ]
Although these are not technically the same ... lambda { } proc { } Proc.new { }
string.match(/regex/) string =~ /regex/
object.is_a?(Thing) Thing === object
hash.merge!(hash) hash.update(hash)
Anyways, I'm not a Python programmer, but I can say (with regards to Ruby) when you are used to the language it feels right.
Why can't we just all get along and not troll the shit out of each-other?
['cat', 'dog'] %w[ cat dog ]
Although these are not technically the same ... lambda { } proc { } Proc.new { }
string.match(/regex/) string =~ /regex/
object.is_a?(Thing) Thing === object
hash.merge!(hash) hash.update(hash)
Anyways, I'm not a Python programmer, but I can say (with regards to Ruby) when you are used to the language it feels right.
Why can't we just all get along and not troll the shit out of each-other?