Class: Keisanjaku::Question

Inherits:
Struct
  • Object
show all
Defined in:
lib/keisanjaku/drill.rb

Instance Attribute Summary collapse

Instance Attribute Details

#expressionObject

Returns the value of attribute expression

Returns:

  • (Object)

    the current value of expression



7
8
9
# File 'lib/keisanjaku/drill.rb', line 7

def expression
  @expression
end

#operationObject

Returns the value of attribute operation

Returns:

  • (Object)

    the current value of operation



7
8
9
# File 'lib/keisanjaku/drill.rb', line 7

def operation
  @operation
end

#promptObject

Returns the value of attribute prompt

Returns:

  • (Object)

    the current value of prompt



7
8
9
# File 'lib/keisanjaku/drill.rb', line 7

def prompt
  @prompt
end

#true_valueObject

Returns the value of attribute true_value

Returns:

  • (Object)

    the current value of true_value



7
8
9
# File 'lib/keisanjaku/drill.rb', line 7

def true_value
  @true_value
end