method calling in ruby
there are three ways of calling method in ruby: dot operator, Object#send and method(:foo).call
object = Object.new
object.object_id
=> 20826000
object.send(:object_id)
=> 20826000
object.method(:object_id).call
=> 20826000
there are three ways of calling method in ruby: dot operator, Object#send and method(:foo).call
object = Object.new
object.object_id
=> 20826000
object.send(:object_id)
=> 20826000
object.method(:object_id).call
=> 20826000