Skip to content

Instantly share code, notes, and snippets.

@Akkiesoft
Last active December 19, 2015 06:19
Show Gist options
  • Save Akkiesoft/5911030 to your computer and use it in GitHub Desktop.
Save Akkiesoft/5911030 to your computer and use it in GitHub Desktop.
mikutterコンソールで実行するやつ。 なんかでた(id1がコツらしい)
Plugin.create(:test) do
tab(:test, 'TEST') do
timeline :test
end
user = User.new({
:id => 1,
:idname => "Akkiesoft",
:name => "akkiesoft",
:profile_image_url => "http://8639.tk/hello.png",
:url => "http://kokuda.org"
})
time = Time.now
timeline(:test) << Message.new({
:id => 1,
:message => "oeeeeeeeeee",
:user => user,
:created => time,
:system => false
})
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment