Module: KingpinClassMethods
- Defined in:
- lib/king_pin.rb
Overview
KingpinClassMethods - provides models new class methods
Instance Method Summary collapse
Instance Method Details
#kingpin_args ⇒ Object
121 122 123 |
# File 'lib/king_pin.rb', line 121 def kingpin_args @@kingpin_args.first rescue {:methods => nil, :rad => false, :autopin => false} end |
#kingpin_args=(args) ⇒ Object
117 118 119 |
# File 'lib/king_pin.rb', line 117 def kingpin_args=(args) @@kingpin_args = args.empty? ? nil : args end |