Method: Aggkit::Env::Project#initialize

Defined in:
lib/aggkit/env.rb

#initialize(path) ⇒ Project

Returns a new instance of Project.



209
210
211
212
213
# File 'lib/aggkit/env.rb', line 209

def initialize(path)
  raise "env path #{path} is not directory!" unless File.directory?(File.expand_path(path))

  @env_root = File.realpath(File.expand_path(path))
end