Class: SistemKebut::Paragraph::Formulir::UnitFormulir
- Inherits:
-
Object
- Object
- SistemKebut::Paragraph::Formulir::UnitFormulir
- Defined in:
- lib/sks/paragraph/formulir.rb
Instance Attribute Summary collapse
-
#label ⇒ Object
Returns the value of attribute label.
-
#value ⇒ Object
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(l, v) ⇒ UnitFormulir
constructor
A new instance of UnitFormulir.
Constructor Details
#initialize(l, v) ⇒ UnitFormulir
Returns a new instance of UnitFormulir.
6 7 8 9 |
# File 'lib/sks/paragraph/formulir.rb', line 6 def initialize(l, v) @label = l @value = v end |
Instance Attribute Details
#label ⇒ Object
Returns the value of attribute label.
5 6 7 |
# File 'lib/sks/paragraph/formulir.rb', line 5 def label @label end |
#value ⇒ Object
Returns the value of attribute value.
5 6 7 |
# File 'lib/sks/paragraph/formulir.rb', line 5 def value @value end |