Class: Keisanjaku::Question
- Inherits:
-
Struct
- Object
- Struct
- Keisanjaku::Question
- Defined in:
- lib/keisanjaku/drill.rb
Instance Attribute Summary collapse
-
#expression ⇒ Object
Returns the value of attribute expression.
-
#operation ⇒ Object
Returns the value of attribute operation.
-
#prompt ⇒ Object
Returns the value of attribute prompt.
-
#true_value ⇒ Object
Returns the value of attribute true_value.
Instance Attribute Details
#expression ⇒ Object
Returns the value of attribute expression
7 8 9 |
# File 'lib/keisanjaku/drill.rb', line 7 def expression @expression end |
#operation ⇒ Object
Returns the value of attribute operation
7 8 9 |
# File 'lib/keisanjaku/drill.rb', line 7 def operation @operation end |
#prompt ⇒ Object
Returns the value of attribute prompt
7 8 9 |
# File 'lib/keisanjaku/drill.rb', line 7 def prompt @prompt end |
#true_value ⇒ Object
Returns the value of attribute true_value
7 8 9 |
# File 'lib/keisanjaku/drill.rb', line 7 def true_value @true_value end |