Module: GetsTrollied::InstanceMethods

Defined in:
lib/gets_trollied.rb

Instance Method Summary collapse

Instance Method Details

#description_for_purchasingObject



34
35
36
# File 'lib/gets_trollied.rb', line 34

def description_for_purchasing
  send(self.class.described_as_when_purchasing)
end

#place_in(trolley) ⇒ Object



30
31
32
# File 'lib/gets_trollied.rb', line 30

def place_in(trolley)
  trolley.add(self)
end