Class: PDFRavager::Fields::Radio
Instance Attribute Summary collapse
Instance Method Summary
collapse
#set_xfa_value, #xfa_node_type
#set_acro_form_value
Constructor Details
#initialize(group_name, name) ⇒ Radio
Returns a new instance of Radio.
12
13
14
|
# File 'lib/pdf_ravager/fields/radio.rb', line 12
def initialize(group_name, name)
@group_name, @name = group_name, name
end
|
Instance Attribute Details
#group_name ⇒ Object
Returns the value of attribute group_name.
10
11
12
|
# File 'lib/pdf_ravager/fields/radio.rb', line 10
def group_name
@group_name
end
|
#name ⇒ Object
Returns the value of attribute name.
10
11
12
|
# File 'lib/pdf_ravager/fields/radio.rb', line 10
def name
@name
end
|
Instance Method Details
#==(other) ⇒ Object
16
17
18
|
# File 'lib/pdf_ravager/fields/radio.rb', line 16
def ==(other)
self.group_name == other.group_name && self.name == other.name
end
|
20
21
22
|
# File 'lib/pdf_ravager/fields/radio.rb', line 20
def acro_form_name
@group_name
end
|
28
29
30
|
# File 'lib/pdf_ravager/fields/radio.rb', line 28
def acro_form_value
@name
end
|
#xfa_name ⇒ Object
24
25
26
|
# File 'lib/pdf_ravager/fields/radio.rb', line 24
def xfa_name
@group_name
end
|
#xfa_value ⇒ Object
32
33
34
|
# File 'lib/pdf_ravager/fields/radio.rb', line 32
def xfa_value
@name
end
|