Class: Hash
- Inherits:
-
Object
- Object
- Hash
- Defined in:
- lib/html_attrs.rb
Direct Known Subclasses
Instance Method Summary collapse
Instance Method Details
#as_html_attrs ⇒ Object
112 113 114 |
# File 'lib/html_attrs.rb', line 112 def as_html_attrs HtmlAttrs.new(self) end |
#smart_merge(target) ⇒ Object
116 117 118 |
# File 'lib/html_attrs.rb', line 116 def smart_merge(target) as_html_attrs.smart_merge(target) end |
#smart_merge_all(target) ⇒ Object
120 121 122 |
# File 'lib/html_attrs.rb', line 120 def smart_merge_all(target) as_html_attrs.smart_merge_all(target) end |