Module: Fauxhai
- Defined in:
- lib/fauxhai.rb,
lib/fauxhai/mocker.rb,
lib/fauxhai/runner.rb,
lib/fauxhai/fetcher.rb,
lib/fauxhai/exception.rb
Defined Under Namespace
Modules: Exception
Classes: Fetcher, Mocker, Runner
Class Method Summary
collapse
Class Method Details
.fetch(*args, &block) ⇒ Object
14
15
16
|
# File 'lib/fauxhai.rb', line 14
def self.fetch(*args, &block)
Fauxhai::Fetcher.new(*args, &block)
end
|
.mock(*args, &block) ⇒ Object
10
11
12
|
# File 'lib/fauxhai.rb', line 10
def self.mock(*args, &block)
Fauxhai::Mocker.new(*args, &block)
end
|
.root ⇒ Object
6
7
8
|
# File 'lib/fauxhai.rb', line 6
def self.root
@@root ||= File.expand_path('../../', __FILE__)
end
|