Module: Bread::Controller::ClassMethods
- Defined in:
- lib/bread/controller.rb
Instance Attribute Summary collapse
-
#bread_block ⇒ Object
readonly
Returns the value of attribute bread_block.
Instance Method Summary collapse
Instance Attribute Details
#bread_block ⇒ Object (readonly)
Returns the value of attribute bread_block.
6 7 8 |
# File 'lib/bread/controller.rb', line 6 def bread_block @bread_block end |
Instance Method Details
#bread(&block) ⇒ Object
7 8 9 |
# File 'lib/bread/controller.rb', line 7 def bread(&block) @bread_block = block end |