Sha256: 3c881d3bf7fe20b997ed1a3acd05981635166fa3b311022e4d3e44b3a5bcd394
Contents?: true
Size: 358 Bytes
Versions: 5
Compression:
Stored size: 358 Bytes
Contents
module Blueprints module FileContext def self.blueprint(plan, &block) Plan.new(plan, &block) end def self.namespace(name) old_namespace = Namespace.root namespace = Namespace.new(name) Namespace.root = namespace yield old_namespace.add_child(namespace) Namespace.root = old_namespace end end end
Version data entries
5 entries across 5 versions & 1 rubygems