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.



29
30
31
# File 'lib/ext/og.rb', line 29

def og_manager
  @og_manager
end

Instance Method Details

#createObject

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