Sha256: aa4cf69ad0dbf52ebecd1a8fc0bcf87396b7d8546c3d27702a16f77bdad25eb6

Contents?: true

Size: 485 Bytes

Versions: 1

Compression:

Stored size: 485 Bytes

Contents

unless RUBY_PLATFORM == 'opal'
  # An option to skip requiring.
  unless ENV['SKIP_BUNDLER_REQUIRE']
    # Require in gems
    Bundler.require(:default, (ENV['VOLT_ENV'] || ENV['RACK_ENV'] || :development).to_sym)
  end
end

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)
    # Boot the app
    App.new(app_path)
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
volt-0.9.3.pre1 lib/volt/boot.rb