Class: PDFRavager::Fieldsets::RadioGroup
- Inherits:
-
Object
- Object
- PDFRavager::Fieldsets::RadioGroup
- Defined in:
- lib/pdf_ravager/fieldsets/radio_group.rb
Instance Method Summary collapse
- #fill(name) ⇒ Object
-
#initialize(template, name) {|_self| ... } ⇒ RadioGroup
constructor
A new instance of RadioGroup.
Constructor Details
#initialize(template, name) {|_self| ... } ⇒ RadioGroup
Returns a new instance of RadioGroup.
5 6 7 8 |
# File 'lib/pdf_ravager/fieldsets/radio_group.rb', line 5 def initialize(template, name) @template, @name = template, name yield self if block_given? end |
Instance Method Details
#fill(name) ⇒ Object
10 11 12 |
# File 'lib/pdf_ravager/fieldsets/radio_group.rb', line 10 def fill(name) @template.fill(@name, name) end |