Method: Webby::Resources::DB#initialize

Defined in:
lib/webby/resources/db.rb

#initializeDB

call-seq:

DB.new

Create a new resources database object. This is used to store resources and to find them by their attributes.



15
16
17
# File 'lib/webby/resources/db.rb', line 15

def initialize
  @db = Hash.new {|h,k| h[k] = []}
end