We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
出力をフックできるだけでいい?
$HOME/.tw/plugins/output/ に.rbファイルを配置する $HOME/.tw/plugins/output/PLUGIN_NAME.rb
tweetが1つ来る毎に、その都度instance_evalされれば良さげ
今はTweet1つをHashで表現しているが、Tw::Tweetを作ってそれに入れる
module Tw class Tweet attr_reader :id, :time, :text, :user end end
Tw::App::Render.disprayに渡したら、Tw::Tweetのコンテキスト内でinstance_evalする
The text was updated successfully, but these errors were encountered:
No branches or pull requests
出力をフックできるだけでいい?
$HOME/.tw/plugins/output/
に.rbファイルを配置する
$HOME/.tw/plugins/output/PLUGIN_NAME.rb
tweetが1つ来る毎に、その都度instance_evalされれば良さげ
今はTweet1つをHashで表現しているが、Tw::Tweetを作ってそれに入れる
Tw::App::Render.disprayに渡したら、Tw::Tweetのコンテキスト内でinstance_evalする
The text was updated successfully, but these errors were encountered: