Module: Ext::Og::CClassMethods
- Defined in:
- lib/ext/og.rb
Instance Attribute Summary collapse
-
#og_manager ⇒ Object
readonly
Useful for extenal control.
Instance Method Summary collapse
-
#create ⇒ Object
Adds Og initialization when you start your app.
Instance Attribute Details
#og_manager ⇒ Object (readonly)
Useful for extenal control. Filled by .create.
29 30 31 |
# File 'lib/ext/og.rb', line 29 def og_manager @og_manager end |
Instance Method Details
#create ⇒ Object
Adds Og initialization when you start your app.
32 33 34 35 36 |
# File 'lib/ext/og.rb', line 32 def create puts "INFO: Og#create called" if $DBG @og_manager = ::Ext::Og.setup(self) if self::Models.og super end |