Class: Spree::CheckoutAdditionalAttributes

Inherits:
Array
  • Object
show all
Defined in:
core/lib/spree/permitted_attributes.rb

Instance Method Summary collapse

Instance Method Details

#<<(*attributes) ⇒ Object



172
173
174
175
176
# File 'core/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 'core/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 'core/lib/spree/permitted_attributes.rb', line 178

def push(*attributes)
  super

  inject_attributes_to_all_steps(attributes, :push)
end