Module: Maglove::Widgets::Container::Helpers
- Defined in:
- lib/maglove/widgets/container.rb
Instance Method Summary collapse
Instance Method Details
#container_widget(options = {}, &block) ⇒ Object
90 91 92 93 94 95 96 97 98 99 |
# File 'lib/maglove/widgets/container.rb', line 90 def ( = {}, &block) (Widgets::Container.new()) do || haml_tag :section, . do haml_tag :div, . do yield if block drop_container end end end end |