diff options
author | Toshiaki Asai <toshi.alternative@gmail.com> | 2017-06-27 05:24:18 +0900 |
---|---|---|
committer | Toshiaki Asai <toshi.alternative@gmail.com> | 2017-06-27 05:24:18 +0900 |
commit | 0b88dd307e2400feffae5ebd5ee57803a6d590f2 (patch) | |
tree | 341297acfbc01b4eb504648a50f71e841bb25791 /core/plugin.rb | |
parent | 1e9718b82543bbce2ab07aee43834a636ae811b6 (diff) | |
download | mikutter-0b88dd307e2400feffae5ebd5ee57803a6d590f2.tar.gz |
Module#memoize が呼ばれた時に、自動的にextend Memoistする refs #1051
Diffstat (limited to 'core/plugin.rb')
-rw-r--r-- | core/plugin.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/plugin.rb b/core/plugin.rb index 1289dad5..26d746d7 100644 --- a/core/plugin.rb +++ b/core/plugin.rb @@ -10,7 +10,9 @@ EventListener = Pluggaloid::Listener EventFilter = Pluggaloid::Filter class Plugin < Pluggaloid::Plugin + extend Memoist include ConfigLoader + include Memoist class << self # ユーザに向けて通知を発生させる。 |