Module: Fauxhai

Defined in:
lib/fauxhai.rb,
lib/fauxhai/mocker.rb,
lib/fauxhai/runner.rb,
lib/fauxhai/fetcher.rb,
lib/fauxhai/version.rb,
lib/fauxhai/exception.rb,
lib/fauxhai/runner/default.rb,
lib/fauxhai/runner/windows.rb

Defined Under Namespace

Modules: Exception Classes: Fetcher, Mocker, Runner

Constant Summary collapse

VERSION =
"9.3.16".freeze

Class Method Summary collapse

Class Method Details

.fetch(*args, &block) ⇒ Object



15
16
17
# File 'lib/fauxhai.rb', line 15

def self.fetch(*args, &block)
  Fauxhai::Fetcher.new(*args, &block)
end

.mock(*args, &block) ⇒ Object



11
12
13
# File 'lib/fauxhai.rb', line 11

def self.mock(*args, &block)
  Fauxhai::Mocker.new(*args, &block)
end

.rootObject



7
8
9
# File 'lib/fauxhai.rb', line 7

def self.root
  @@root ||= File.expand_path("../../", __FILE__)
end