lib/songkickr/event.rb in songkickr-0.5.3 vs lib/songkickr/event.rb in songkickr-0.5.4
- old
+ new
@@ -56,10 +56,10 @@
protected
# Takes the start hash and turns in into a DateTime object.
def start_hash_to_datetime(start_hash)
- datetime = DateTime.parse("#{start_hash["date"]} #{start_hash["time"]}")
+ DateTime.parse "#{start_hash["date"]} #{start_hash["time"]}"
end
# Builds a list of Performance objects.
def parse_performance(performances = [])
performances.map { |performance| Songkickr::Performance.new performance }