Module: Ext::Og::CClassMethods

Defined in:
lib/ext/og.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#og_managerObject (readonly)

Useful for extenal control. Filled by .create.



27
28
29
# File 'lib/ext/og.rb', line 27

def og_manager
  @og_manager
end

Instance Method Details

#createObject

Adds Og initialization when you start your app.



30
31
32
33
34
# File 'lib/ext/og.rb', line 30

def create
  puts "INFO: Og#create called" if $DBG
  @og_manager = ::Ext::Og.setup(self) if self::Models.og
  super
end