Method: Asynchronic::DataStore::Key#remove_last

Defined in:
lib/asynchronic/data_store/key.rb

#remove_last(count = 1) ⇒ Object



31
32
33
# File 'lib/asynchronic/data_store/key.rb', line 31

def remove_last(count=1)
  self.class.new sections[0..-count-1].join(SEPARATOR)
end