Sha256: 5be927ec7bb034312316f24d194d42d2d6918431df81a36640f4ea030592e693
Contents?: true
Size: 718 Bytes
Versions: 11
Compression:
Stored size: 718 Bytes
Contents
# frozen_string_literal: true module UiBibz module Strategies # Class to initialize component class ComponentInitializeAbstractStrategy def initialize(component, component_binding) @component = component @binding = component_binding @content = component_binding.local_variable_get(:content) @options = component_binding.local_variable_get(:options) @html_options = component_binding.local_variable_get(:html_options) @block = component_binding.local_variable_get(:block) end def tapped? false end private def with_indifferent_access(hash) (hash || {}).with_indifferent_access end end end end
Version data entries
11 entries across 11 versions & 1 rubygems