Module: Messenger::Components::Element
- Included in:
- Elements::Address, Elements::Adjustment, Elements::Bubble, Elements::Item, Elements::Order, Elements::Summary
- Defined in:
- lib/messenger/components/element.rb
Instance Method Summary collapse
Instance Method Details
#build ⇒ Object
4 5 6 |
# File 'lib/messenger/components/element.rb', line 4 def build instance_values.delete_if { |_attribute, value| value.nil? } end |