Method: Aggkit::Env::Project#project_root

Defined in:
lib/aggkit/env.rb

#project_rootObject



215
216
217
218
219
# File 'lib/aggkit/env.rb', line 215

def project_root
  @project_root = Pathfinder.new(env_root).each_parent.find do |path|
    root?(path)
  end || (raise "Can't find project root")
end