lib/sched/client.rb in sched-0.1.9 vs lib/sched/client.rb in sched-0.1.10
- old
+ new
@@ -56,9 +56,10 @@
c.perform
encoded(c.body_str)
end
def parse_attributes(attributes)
+ return [] unless attributes
attributes.map do |a|
a.gsub(/^event_/, "session_").to_sym
end
end