Module: TestBench::Telemetry::Controls::Path::Absolute::Local::Gem
- Extended by:
- Random
- Defined in:
- lib/test_bench/telemetry/controls/path.rb
Class Method Summary collapse
Methods included from Random
Class Method Details
.example(path = nil) ⇒ Object
68 69 70 71 72 73 74 |
# File 'lib/test_bench/telemetry/controls/path.rb', line 68 def self.example(path=nil) path ||= Path.example path = File.join(gems_path, path) Local.example(path) end |
.gems_path ⇒ Object
76 77 78 79 80 |
# File 'lib/test_bench/telemetry/controls/path.rb', line 76 def self.gems_path ruby_version = RbConfig::CONFIG['ruby_version'] "gems/ruby/#{ruby_version}/gems" end |