Module: Bread::Controller

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

Defined Under Namespace

Modules: ClassMethods

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#_bread_treesObject

Returns the value of attribute _bread_trees.



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

def _bread_trees
  @_bread_trees
end

Instance Method Details

#execute_bread_commandObject



19
20
21
# File 'lib/bread/controller.rb', line 19

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