Sha256: c2384d1c0bb96eab6c07d91b16da1a088058e165d15d31d863990cfee3586609

Contents?: true

Size: 404 Bytes

Versions: 1

Compression:

Stored size: 404 Bytes

Contents

module Arcabouco
  class Application
    def initialize
      configure_root_directory
      puts "Configured root #{Arcabouco.root}"
      puts "Configured gem root #{Arcabouco.gem_root}"
    end

    private

      def configure_root_directory
        Arcabouco.gem_root = File.expand_path("../..",__FILE__)
        Dir.chdir "."
        Arcabouco.root = File.expand_path Dir.getwd
      end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
arcabouco-0.1.0 lib/arcabouco/application.rb