Created
May 24, 2014 12:12
-
-
Save ysakasin/0bcf94e7057144ca4431 to your computer and use it in GitHub Desktop.
Shrimp 1.31-PreFairy において、キャストエラーが発生するプラグインの簡単な例
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
#MIT License | |
class ShrimpPlugin | |
def initialize | |
end | |
def OnInitialize(plugin) | |
plugin.PluginName = 'test' | |
plugin.PluginDeveloper = 'NKMR_YA' | |
plugin.PluginVersion = 100 | |
plugin.PluginDescription = 'test' | |
end | |
def OnCreateTweetMenu(hook) | |
hook.OnClickedMenu = Proc.new do |data| | |
end | |
hook.text = 'test' | |
end | |
end | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment