Sha256: ce6402a7d87f47c8071460aaef24104b7cad75c455007b561a98e29f3f7c5a3f

Contents?: true

Size: 419 Bytes

Versions: 3

Compression:

Stored size: 419 Bytes

Contents

require 'volt/models'
require 'volt/server/rack/component_paths'

if RUBY_PLATFORM == 'opal'
  require 'volt'
else
  require 'volt/page/page'
end
require 'volt/volt/app'

module Volt
  def self.boot(app_path)
    # Run the app config to load all users config files
    unless RUBY_PLATFORM == 'opal'
      if Volt.server?
        $page = Page.new
      end
    end

    # Boot the app
    App.new(app_path)
  end


end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
volt-0.9.1.pre4 lib/volt/boot.rb
volt-0.9.1.pre3 lib/volt/boot.rb
volt-0.9.1.pre2 lib/volt/boot.rb