Fieldable encapsulates methods in common for classes which may have their fields set and subsequently be auto-extended by ArrayFields
access to field list
# File lib/arrayfields.rb, line 319 319: def fields *values 320: return(send('fields=', *values)) unless values.empty? 321: fieldset and fieldset.fields 322: end
sets fields an dynamically extends this Array instance with methods for keyword access
# File lib/arrayfields.rb, line 300 300: def fields= fields 301: extend ArrayFields unless ArrayFields === self 302: 303: @fieldset = 304: if ArrayFields::FieldSet === fields 305: fields 306: else 307: ArrayFields::FieldSet.new fields 308: end 309: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.