Class: Glimmer::Calculator::Command::Operation::Subtract

Inherits:
Glimmer::Calculator::Command::Operation show all
Defined in:
lib/models/glimmer/calculator/command/operation/subtract.rb

Instance Attribute Summary

Attributes inherited from Glimmer::Calculator::Command

#button, #result

Instance Method Summary collapse

Methods inherited from Glimmer::Calculator::Command::Operation

#calculate, #execute

Methods inherited from Glimmer::Calculator::Command

command_history, #command_history, #execute, for, #initialize, keyword, keyword_to_command_class_mapping, keywords, #last_command, #last_result, #number1, #number1=, #number2, #number2=, #operation, #operation=

Constructor Details

This class inherits a constructor from Glimmer::Calculator::Command

Instance Method Details

#operation_methodObject



8
9
10
# File 'lib/models/glimmer/calculator/command/operation/subtract.rb', line 8

def operation_method
  :-
end