Class: Ariadne::ViewComponent::HTMLAttrs::AttributesHash
- Inherits:
-
Hash
- Object
- Hash
- Ariadne::ViewComponent::HTMLAttrs::AttributesHash
- Defined in:
- app/lib/ariadne/view_component/html_attrs.rb
Constant Summary collapse
- TAG_BUILDER =
ActionView::Helpers::TagHelper::TagBuilder.new(nil)
- TAG_OPTIONS =
ActionView::Helpers::TagHelper::TagBuilder.instance_method(:tag_options)
Instance Method Summary collapse
Instance Method Details
#to_html(nested: false) ⇒ Object
13 14 15 16 |
# File 'app/lib/ariadne/view_component/html_attrs.rb', line 13 def to_html(nested: false) # TODO: implement + change usage by @tag nested-attributes (self)&.html_safe # rubocop:disable Rails/OutputSafety end |