Method: Kintama::Context::ClassMethods#setup

Defined in:
lib/kintama/context.rb

#setup(&block) ⇒ Object

Define the setup for this context. It will also be run for any subcontexts, before their own setup blocks



117
118
119
# File 'lib/kintama/context.rb', line 117

def setup(&block)
  self.setup_blocks << block
end