Skip to content

Instantly share code, notes, and snippets.

@jugyo
Created March 16, 2009 02:22
Show Gist options
  • Save jugyo/79653 to your computer and use it in GitHub Desktop.
Save jugyo/79653 to your computer and use it in GitHub Desktop.
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