Sha256: c5ded6494a2e9fe2645daad985ee7b5cebc4c635c2755d0151adc98de84b3dbe
Contents?: true
Size: 337 Bytes
Versions: 59
Compression:
Stored size: 337 Bytes
Contents
module Para module Markup class Component attr_reader :view delegate :content_tag, :capture, to: :view def initialize view @view = view end protected def merge_class!(options, klass) options[:class] ||= "" options[:class] += " #{ klass }" end end end end
Version data entries
59 entries across 59 versions & 1 rubygems