Method: Playbook::KitBase#pb_content_tag

Defined in:
lib/playbook/kit_base.rb

#pb_content_tag(name = :div, content_or_options_with_block = {}, options = {}, escape = true, &block) ⇒ Object

rubocop:disable Style/OptionalBooleanParameter



111
112
113
114
115
116
# File 'lib/playbook/kit_base.rb', line 111

def (name = :div, content_or_options_with_block = {}, options = {}, escape = true, &block)
  combined_options = options
                     .merge(combined_html_options)
                     .merge(default_options.merge(content_or_options_with_block))
  (name, combined_options, options, escape, &block)
end