Class: SistemKebut::Paragraph::Formulir::UnitFormulir

Inherits:
Object
  • Object
show all
Defined in:
lib/sks/paragraph/formulir.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#labelObject

Returns the value of attribute label.



5
6
7
# File 'lib/sks/paragraph/formulir.rb', line 5

def label
  @label
end

#valueObject

Returns the value of attribute value.



5
6
7
# File 'lib/sks/paragraph/formulir.rb', line 5

def value
  @value
end