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_keysObject



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

def bread_keys
  cmd = ControllerLayoutCommand.new(self)
  cmd.instance_eval(&self.class.bread_block)
  cmd.keys
end