Sha256: 5b00becdd480e8fa5a095add95a8cb02e3e6f258763c3db028a0ea86635366f7

Contents?: true

Size: 445 Bytes

Versions: 19

Compression:

Stored size: 445 Bytes

Contents

TEMPLATE_ROOT = "#{File.expand_path(File.dirname(__FILE__) + "/..")}" unless defined?( TEMPLATE_ROOT )

# Rgentpl
#
# @author Julio AntĂșnez TarĂ­n
module Rgentpl
  # Run boot
  #
  # @return [void]
  def self.boot
    Boot.new.run
  end

  # Boot
  #
  # Launcher class
  class Boot
    # Launcher
    #
    # @return [void]
    def run
      require_relative '../lib/rgentpl' unless defined?(Rgentpl.env)
    end
  end
end

# Run
Rgentpl.boot

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
rgentpl-1.2.6 config/boot.rb
rgentpl-1.2.5 config/boot.rb
rgentpl-1.2.4.3 config/boot.rb
rgentpl-1.2.4.2 config/boot.rb
rgentpl-1.2.4.1 config/boot.rb
rgentpl-1.2.4 config/boot.rb
rgentpl-1.2.3 config/boot.rb
rgentpl-1.2.2 config/boot.rb
rgentpl-1.2.1 config/boot.rb
rgentpl-1.2.0 config/boot.rb
rgentpl-1.0.9 config/boot.rb
rgentpl-1.0.8 config/boot.rb
rgentpl-1.0.7 config/boot.rb
rgentpl-1.0.6 config/boot.rb
rgentpl-1.0.5 config/boot.rb
rgentpl-1.0.4 config/boot.rb
rgentpl-1.0.3 config/boot.rb
rgentpl-1.0.2 config/boot.rb
rgentpl-1.0.1 config/boot.rb