bin/tarzan in tarzan-0.0.2 vs bin/tarzan in tarzan-0.0.3

- old
+ new

@@ -5,6 +5,12 @@ rescue LoadError require 'rubygems' require 'tarzan' end -Tarzan.play! +puts %{Pick [S]hell or [C]ampfire: } +interface = case gets.strip + when 'S' then Tarzan::Interfaces::Shell::Interface.new + when 'C' then Tarzan::Interfaces::Campfire::Interface.new subdomain: ENV['CAMPFIRE_SUBDOMAIN'], room_id: ENV['CAMPFIRE_ROOM_ID'], token: ENV['CAMPFIRE_TOKEN'] +end + +interface.play \ No newline at end of file