Class: Spree::CheckoutAdditionalAttributes
- Inherits:
-
Array
- Object
- Array
- Spree::CheckoutAdditionalAttributes
- Defined in:
- lib/spree/permitted_attributes.rb
Instance Method Summary collapse
- #<<(*attributes) ⇒ Object
- #prepend(*attributes) ⇒ Object (also: #unshift)
- #push(*attributes) ⇒ Object (also: #append)
Instance Method Details
#<<(*attributes) ⇒ Object
172 173 174 175 176 |
# File 'lib/spree/permitted_attributes.rb', line 172 def <<(*attributes) super inject_attributes_to_all_steps(attributes, :<<) end |
#prepend(*attributes) ⇒ Object Also known as: unshift
185 186 187 188 189 |
# File 'lib/spree/permitted_attributes.rb', line 185 def prepend(*attributes) super inject_attributes_to_all_steps(attributes, :prepend) end |
#push(*attributes) ⇒ Object Also known as: append
178 179 180 181 182 |
# File 'lib/spree/permitted_attributes.rb', line 178 def push(*attributes) super inject_attributes_to_all_steps(attributes, :push) end |