class Olfactory::Dictionary

Attributes

name[RW]
scope[RW]

Public Class Methods

new(name, options = {}) click to toggle source
# File lib/olfactory/dictionary.rb, line 5
def initialize(name, options = {})
  self.name = name
  self.scope = (options[:scope] || :global)
end

Public Instance Methods

reset() click to toggle source
# File lib/olfactory/dictionary.rb, line 9
def reset
  self.clear
end