Sha256: 45f95af9434b962982da5096dceb77057d3a7836a2584843fd6974ebc0143829

Contents?: true

Size: 456 Bytes

Versions: 1

Compression:

Stored size: 456 Bytes

Contents

#
# The following can be used to run the application in CLI mode
# in development and use source rather than the gem.
#
# From the /lib/ directory:  ruby run.rb
#
require 'gloo/core/baseo'
require 'gloo/core/obj'

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

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
gloo-0.7.6 lib/run.rb