Sha256: 6be741f0d0def8c68e65d6a271f45317cba0f39744cb1774f1316da0f7df8503
Contents?: true
Size: 544 Bytes
Versions: 13
Compression:
Stored size: 544 Bytes
Contents
# frozen_string_literal: true module UiBibz::Builders # Class to build html classes class HtmlOptionsBuilder attr_accessor :html_options attr_reader :options def initialize(html_options, options) @html_options = html_options @options = options end def initialize_component_html_options(component_html_options) html_options.merge!(component_html_options) end def initialize_component_html_classes(component_html_classes) html_options[:class] = component_html_classes end end end
Version data entries
13 entries across 13 versions & 1 rubygems