Module: Rsense::Server::GemPath

Defined in:
lib/rsense/server/gem_path.rb

Class Method Summary collapse

Class Method Details

.fetchObject



12
13
14
# File 'lib/rsense/server/gem_path.rb', line 12

def fetch
  Gem.path
end

.pathsObject



6
7
8
9
10
# File 'lib/rsense/server/gem_path.rb', line 6

def paths
  fetch.map do |p|
    p unless p =~ /^file:/
  end
end