Innate::Optioned

extend your class with this

Public Class Methods

included(into) click to toggle source
     # File lib/innate/options/dsl.rb, line 187
187:     def self.included(into)
188:       into.extend(SingletonMethods)
189: 
190:       snaked = into.name.split('::').last
191:       snaked = snaked.gsub(/\B[A-Z][^A-Z]/, '_\&').downcase.gsub(' ', '_')
192: 
193:       options = Innate.options.sub(snaked)
194:       into.instance_variable_set(:@options, options)
195:     end

Private Instance Methods

options() click to toggle source
     # File lib/innate/options/dsl.rb, line 203
203:     def options
204:       self.class.options
205:     end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.