Class: PdfFill::FormValue
- Inherits:
-
Object
- Object
- PdfFill::FormValue
- Defined in:
- lib/pdf_fill/form_value.rb
Instance Attribute Summary collapse
-
#extras_value ⇒ Object
readonly
Returns the value of attribute extras_value.
Instance Method Summary collapse
-
#initialize(value, extras_value) ⇒ FormValue
constructor
A new instance of FormValue.
- #size ⇒ Object
- #to_s ⇒ Object
Constructor Details
#initialize(value, extras_value) ⇒ FormValue
Returns a new instance of FormValue.
7 8 9 10 |
# File 'lib/pdf_fill/form_value.rb', line 7 def initialize(value, extras_value) @value = value @extras_value = extras_value end |
Instance Attribute Details
#extras_value ⇒ Object (readonly)
Returns the value of attribute extras_value.
5 6 7 |
# File 'lib/pdf_fill/form_value.rb', line 5 def extras_value @extras_value end |
Instance Method Details
#size ⇒ Object
16 17 18 |
# File 'lib/pdf_fill/form_value.rb', line 16 def size @value.size end |
#to_s ⇒ Object
12 13 14 |
# File 'lib/pdf_fill/form_value.rb', line 12 def to_s @value.to_s end |