lib/booties/panel.rb
##
# Renders the top-level div for the panel. +@context+ is used to specify
# the panel's context. The content is captured from +block+. The Panel
# object will be passed as a parameter to +block+.
Renders the top-level div for the panel. +@context+ is used to specify
the panel's context. The content is captured from +block+. The Panel
object will be passed as a parameter to +block+.
Renders the top - level div for the panel . + @context + is used to specify the panel ' s context . The content is captured from + block + . The Panel object will be passed as a parameter to + block + .
def render(&block)
      options = @options.dup
      classes = merge_classes %W[panel panel-#{@context}],
                              options.delete(:class)
      content_tag @wrapper_tag, class: classes, **options do
        capture self, &block
      end
    end
def render ( & block ) options = @options . dup classes = merge_classes %W[ panel panel- #{ @context } ] , options . delete ( :class ) content_tag @wrapper_tag , class : classes , ** options do capture self , & block end end
Renders the top-level div for the panel.
Renders the top - level div for the panel .
block
<not_specific>