Class: Hypa::Application

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

Constant Summary collapse

@@collections =
{}

Class Method Summary collapse

Class Method Details

.collection(name, &block) ⇒ Object



99
100
101
# File 'lib/hypa.rb', line 99

def self.collection(name, &block)
  @@collections[name] = Collection.new(&block)
end