diff options
Diffstat (limited to 'dragon/log.rb')
| -rw-r--r-- | dragon/log.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/dragon/log.rb b/dragon/log.rb index 7bf09fd..2e39217 100644 --- a/dragon/log.rb +++ b/dragon/log.rb @@ -129,6 +129,11 @@ module GTK self.puts message end + def self.reset + @once = {} + nil + end + def self.puts_once *ids, message id = "#{ids}" @once ||= {} |
