Sha256: 19e4b3073c6541687303d6a706254450d30915d8c1878277cfbb20d6140fea20

Contents?: true

Size: 353 Bytes

Versions: 1

Compression:

Stored size: 353 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!
      Spinebox.load_helpers!
    end
    
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
spinebox-0.0.15 lib/spinebox/base.rb