Class: Quincunx::Dictionary

Inherits:
Object
  • Object
show all
Defined in:
lib/quincunx/dictionary.rb

Instance Method Summary collapse

Instance Method Details

#[](name) ⇒ Object



4
5
6
7
# File 'lib/quincunx/dictionary.rb', line 4

def [](name)
  methods[name] ||= CaseList.new
  methods[name]
end

#methodsObject



9
10
11
# File 'lib/quincunx/dictionary.rb', line 9

def methods
  @methods ||= {}
end