Module: Maglove::Widgets::HorizontalRule::Helpers
- Defined in:
- lib/maglove/widgets/horizontal_rule.rb
Instance Method Summary collapse
Instance Method Details
#horizontal_rule_widget(options = {}) ⇒ Object
17 18 19 20 21 |
# File 'lib/maglove/widgets/horizontal_rule.rb', line 17 def ( = {}) (Widgets::HorizontalRule.new()) do || haml_tag :hr, style: "max-height: #{widget.options[:max_height]}", class: "#{widget.options[:style]} #{widget.options[:color]}" end end |