Skip to content

Instantly share code, notes, and snippets.

@bgnori
Created April 11, 2012 06:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bgnori/2357302 to your computer and use it in GitHub Desktop.
Save bgnori/2357302 to your computer and use it in GitHub Desktop.
require 'set'
$marked = Set.new []
module Termtter::Client
register_command(
:name => :tmark,
:help => ['tmark msg', 'marking tweet for tumblr chat(conversation) post'],
:exec => lambda {|arg|
$marked.add(arg)
p 'marked %s'%arg
}
)
end
module Termtter::Client
register_command(
:name => :tshow,
:help => ['tshow ', 'show marked tweets for tumblr chat(conversation) post'],
:exec => lambda {|arg|
p $marked.inspect
}
)
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment