Sha256: 94d369e12fbd64c5480d270bef5da08cbe1d9b4cf753e6bd7f264faa9d5da9b3

Contents?: true

Size: 416 Bytes

Versions: 9

Compression:

Stored size: 416 Bytes

Contents

# encoding: UTF-8

class Spontaneous::Site
  module Instance
    extend Spontaneous::Concern

    module ClassMethods
      extend Forwardable

      def instantiate(root, env, mode)
        @__instance__ = Spontaneous::Site.new(root, env, mode)
      end

      def instance
        @__instance__
      end

      def_delegators :instance, :config, :database, :database=
    end # ClassMethods
  end # Instance
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
spontaneous-0.2.0.beta10 lib/spontaneous/site/instance.rb
spontaneous-0.2.0.beta9 lib/spontaneous/site/instance.rb
spontaneous-0.2.0.beta8 lib/spontaneous/site/instance.rb
spontaneous-0.2.0.beta7 lib/spontaneous/site/instance.rb
spontaneous-0.2.0.beta6 lib/spontaneous/site/instance.rb
spontaneous-0.2.0.beta5 lib/spontaneous/site/instance.rb
spontaneous-0.2.0.beta4 lib/spontaneous/site/instance.rb
spontaneous-0.2.0.beta3 lib/spontaneous/site/instance.rb
spontaneous-0.2.0.beta2 lib/spontaneous/site/instance.rb