lib/punchblock/event/complete.rb in punchblock-0.9.2 vs lib/punchblock/event/complete.rb in punchblock-0.10.0
- old
+ new
@@ -1,5 +1,7 @@
+# encoding: utf-8
+
module Punchblock
class Event
class Complete < Event
# TODO: Validate response and return response type.
# -----
@@ -16,10 +18,10 @@
end
end
end
def reason=(other)
- children.map &:remove
+ children.map(&:remove)
self << other
end
def recording
element = find_first('//ns:recording', :ns => RAYO_NAMESPACES[:record_complete])