Method: Engineer::Calculator#send_method

Defined in:
lib/engineer_calculator.rb

#send_method(str, method = nil) ⇒ Object



90
91
92
# File 'lib/engineer_calculator.rb', line 90

def send_method(str, method=nil)
  method ? str.send(method) : str
end