Created
March 16, 2009 02:22
-
-
Save jugyo/79653 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module Termtter | |
class Client | |
def self.<< val | |
puts val | |
end | |
end | |
class Command | |
end | |
class Hook | |
end | |
end | |
module Termtter | |
Client << Command.new do | |
end | |
Client << Hook.new do | |
end | |
end | |
Termtter::Client << Termtter::Command.new do | |
end | |
Termtter::Client << Termtter::Hook.new do | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment