Module: Bread::Controller

Extended by:
ActiveSupport::Concern
Defined in:
lib/bread/controller.rb

Defined Under Namespace

Modules: ClassMethods

Instance Method Summary collapse

Instance Method Details

#_bread_treesObject



13
14
15
# File 'lib/bread/controller.rb', line 13

def _bread_trees
  @_bread_trees ||= {}
end

#execute_bread_commandObject



17
18
19
# File 'lib/bread/controller.rb', line 17

def execute_bread_command
  Command.new(self).instance_eval(&self.class.bread_block)
end