Sha256: 621b9fc694ea451abd275a7a66a0389ccf1343c9aa8feceabf0680f99eed6aa6

Contents?: true

Size: 324 Bytes

Versions: 13

Compression:

Stored size: 324 Bytes

Contents

module Spinebox
  module Base
    
    # The spinebox gem path
    def root
      File.dirname(File.realdirpath(__FILE__))
    end
    
    # Boot the spinebox environment
    def boot!
      Spinebox::Config.reset!
      Spinebox::Routes.reset!
      Spinebox.load_config!
      Spinebox.load_routes!
    end
    
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
spinebox-0.0.14 lib/spinebox/base.rb
spinebox-0.0.13 lib/spinebox/base.rb
spinebox-0.0.12 lib/spinebox/base.rb
spinebox-0.0.11 lib/spinebox/base.rb
spinebox-0.0.10 lib/spinebox/base.rb
spinebox-0.0.9 lib/spinebox/base.rb
spinebox-0.0.8 lib/spinebox/base.rb
spinebox-0.0.7 lib/spinebox/base.rb
spinebox-0.0.6 lib/spinebox/base.rb
spinebox-0.0.5 lib/spinebox/base.rb
spinebox-0.0.4 lib/spinebox/base.rb
spinebox-0.0.3 lib/spinebox/base.rb
spinebox-0.0.2 lib/spinebox/base.rb