Class: Wizardry::Questions::Radios::RadioOption

Inherits:
Struct
  • Object
show all
Defined in:
lib/wizardry/questions/radios.rb

Instance Attribute Summary collapse

Instance Attribute Details

#labelObject

Returns the value of attribute label

Returns:

  • (Object)

    the current value of label



6
7
8
# File 'lib/wizardry/questions/radios.rb', line 6

def label
  @label
end

#valueObject

Returns the value of attribute value

Returns:

  • (Object)

    the current value of value



6
7
8
# File 'lib/wizardry/questions/radios.rb', line 6

def value
  @value
end