lib/octospy/recordable.rb in octospy-0.0.8 vs lib/octospy/recordable.rb in octospy-0.1.0
- old
+ new
@@ -25,10 +25,11 @@
def channel(name)
if channels_include? name
find_channel name
else
- Channel.new(name)
+ add_channel name
+ find_channel name
end
end
end
end
end