Module: Netgrep
- Defined in:
- lib/netgrep.rb,
lib/netgrep/ip.rb,
lib/netgrep/runner.rb,
lib/netgrep/options.rb,
lib/netgrep/version.rb,
lib/netgrep/netblocks.rb
Defined Under Namespace
Modules: Ip, Ipv4, Ipv6, Options
Classes: Netblocks, Runner
Constant Summary
collapse
- VERSION =
"0.1.2"
Class Method Summary
collapse
Class Method Details
.fixture_path ⇒ Object
16
17
18
|
# File 'lib/netgrep.rb', line 16
def self.fixture_path
File.expand_path(File.join(root, "spec", "fixtures"))
end
|
.fixture_path_for(file) ⇒ Object
20
21
22
|
# File 'lib/netgrep.rb', line 20
def self.fixture_path_for(file)
File.expand_path(File.join(fixture_path, file))
end
|
.root ⇒ Object
12
13
14
|
# File 'lib/netgrep.rb', line 12
def self.root
@root ||= File.expand_path(File.join(File.dirname(__FILE__), ".."))
end
|