Sha256: 46b2efa1a4563070b6a3917d6224eac463763e6c6b3d0ecbcc14e3731047c930
Contents?: true
Size: 664 Bytes
Versions: 1
Compression:
Stored size: 664 Bytes
Contents
module Rsense module Server class Project attr_accessor :name, :path, :graph, :runtime, :load_path, :gem_path, :loaded, :dependencies, :stubs def initialize(name, path) @name = name @path = path @graph = Rsense::Typing::Graph.new @runtime = @graph.getRuntime() @stubs = Dir.glob(Rsense::BUILTIN.join("**/*.rb")) @load_path = Rsense::Server::LoadPath.paths @gem_path = Rsense::Server::GemPath.paths @loaded = [] @dependencies = Rsense::Server::LoadPath.dependencies(@path) end def loaded?(feature) @loaded.include?(feature) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rsense-server-0.5.0 | lib/rsense/server/project.rb |