Parent

Forgery::Dictionaries

Public Class Methods

new() click to toggle source
# File lib/forgery/dictionaries.rb, line 5
def initialize
  @dictionaries = {}
end

Public Instance Methods

[](key) click to toggle source
# File lib/forgery/dictionaries.rb, line 9
def [](key)
  symbolized_key = key.to_sym
  @dictionaries[symbolized_key] ||= Forgery::Extend(FileReader.read_dictionary(symbolized_key))
end
loaded?(key) click to toggle source
# File lib/forgery/dictionaries.rb, line 14
def loaded?(key)
  @dictionaries.has_key?(key.to_sym)
end
reset!() click to toggle source
# File lib/forgery/dictionaries.rb, line 18
def reset!
  @dictionaries = {}
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.