Sha256: 2de2bf80e8695e42ae14ca0b631c633a866beddf2a7f391cf2993540d4f3f1cf
Contents?: true
Size: 327 Bytes
Versions: 2
Compression:
Stored size: 327 Bytes
Contents
# encoding: utf-8 require 'singleton' module Hyperdrive module DSL class Main include Singleton attr_reader :resources def initialize(&block) @resources = {} end def resource(name, &block) @resources[name] = Resource.new(name, &block).resource end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
hyperdrive-0.0.5 | lib/hyperdrive/dsl/main.rb |
hyperdrive-0.0.4 | lib/hyperdrive/dsl/main.rb |