Sha256: 81870f92ba3cd3e96a79205790a957b4f434276f680168411d4aebdc7a5b6e79

Contents?: true

Size: 447 Bytes

Versions: 14

Compression:

Stored size: 447 Bytes

Contents

# Author::    Eric Crane  (mailto:eric.crane@mac.com)
# Copyright:: Copyright (c) 2019 Eric Crane.  All rights reserved.
#
# Start the Engine.
#

path = File.dirname( File.absolute_path( __FILE__ ) )
root = File.join( path, 'gloo', '**/*.rb' )
Dir.glob( root ).each do |ruby_file|
  require ruby_file
end

module Gloo
  def self.run
    params = []
    ( params << '--cli' ) if ARGV.count.zero?
    Gloo::App::Engine.new( params ).start
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
gloo-0.7.5 lib/gloo.rb
gloo-0.7.4 lib/gloo.rb
gloo-0.7.3 lib/gloo.rb
gloo-0.7.2 lib/gloo.rb
gloo-0.7.1 lib/gloo.rb
gloo-0.7.0 lib/gloo.rb
gloo-0.6.1 lib/gloo.rb
gloo-0.6.0 lib/gloo.rb
gloo-0.5.4 lib/gloo.rb
gloo-0.5.3 lib/gloo.rb
gloo-0.5.2 lib/gloo.rb
gloo-0.5.1 lib/gloo.rb
gloo-0.5.0 lib/gloo.rb
gloo-0.4.0 lib/gloo.rb