Module: Golden::Theme::Foundation::ButtonsHelper

Defined in:
lib/golden/theme/foundation/buttons_helper.rb

Instance Method Summary collapse

Instance Method Details

#foundation_button_group(options = {}, &block) ⇒ Object



3
4
5
6
7
8
9
# File 'lib/golden/theme/foundation/buttons_helper.rb', line 3

def foundation_button_group options = {}, &block
  html_class = options.delete :class
  options = {
    class: "button-group #{html_class}".strip
  }.deep_merge options
  foundation_ul_tag options, &block
end