Class: PdfFill::FormValue

Inherits:
Object
  • Object
show all
Defined in:
lib/pdf_fill/form_value.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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_valueObject (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

#sizeObject



16
17
18
# File 'lib/pdf_fill/form_value.rb', line 16

def size
  @value.size
end

#to_sObject



12
13
14
# File 'lib/pdf_fill/form_value.rb', line 12

def to_s
  @value.to_s
end