Sha256: 2d10e9bb1d8298417f4aa230668ce4e215d6a2c797511a463fa183c96e037228

Contents?: true

Size: 654 Bytes

Versions: 2

Compression:

Stored size: 654 Bytes

Contents

# *********************************************************************************
# URBANopt (tm), Copyright (c) Alliance for Sustainable Energy, LLC.
# See also https://github.com/urbanopt/urbanopt-reopt-gem/blob/develop/LICENSE.md
# *********************************************************************************

require 'openstudio/extension'

module URBANopt # :nodoc:
  module REopt # :nodoc:
    class Extension < OpenStudio::Extension::Extension # :nodoc:
      # Override parent class
      def initialize
        super

        @root_dir = File.absolute_path(File.join(File.dirname(__FILE__), '..', '..', '..'))
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
urbanopt-reopt-0.11.0 lib/urbanopt/reopt/extension.rb
urbanopt-reopt-0.10.0 lib/urbanopt/reopt/extension.rb