Sha256: 07c33280c19c427a4f92da837560f2017bc6d1477e032cfffbb168c973fa9be5
Contents?: true
Size: 489 Bytes
Versions: 4
Compression:
Stored size: 489 Bytes
Contents
require 'crystal/support/active_support' require 'ruby_ext' require 'crystal/rack/adapter' require 'crystal/remote' require 'crystal/config' module Crystal VERSION = '0.0.1' class << self def config @config ||= Config.new end def load_environment $LOAD_PATH << config.root unless $LOAD_PATH.include? config.root end def run app = Crystal::Adapter.parse_config load_environment Crystal::Adapter.run app end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
crystal-0.0.8 | crystal/lib/crystal/core.rb |
crystal-0.0.7 | crystal/lib/crystal/core.rb |
crystal-0.0.6 | crystal/lib/crystal/core.rb |
crystal-0.0.5 | lib/crystal/core.rb |