Method: Josean::Application#section
- Defined in:
- lib/josean.rb
#section ⇒ Object
Add a body section and return a handler for it
52 53 54 55 |
# File 'lib/josean.rb', line 52 def section @total_configuration[:body][:sections] << {items: []} @total_configuration[:body][:sections].last[:items] end |