Class: Hash

Inherits:
Object
  • Object
show all
Defined in:
lib/html_attrs.rb

Direct Known Subclasses

HtmlAttrs

Instance Method Summary collapse

Instance Method Details

#as_html_attrsObject



113
114
115
# File 'lib/html_attrs.rb', line 113

def as_html_attrs
  HtmlAttrs.new(self)
end

#smart_merge(target) ⇒ Object



117
118
119
# File 'lib/html_attrs.rb', line 117

def smart_merge(target)
  as_html_attrs.smart_merge(target)
end

#smart_merge_all(target) ⇒ Object



121
122
123
# File 'lib/html_attrs.rb', line 121

def smart_merge_all(target)
  as_html_attrs.smart_merge_all(target)
end