Module: Jeeves
- Defined in:
- lib/jeeves.rb,
lib/jeeves/import.rb,
lib/jeeves/version.rb,
lib/jeeves/stub_scope.rb,
lib/jeeves/resolve_method.rb,
lib/jeeves/resolve_callable.rb,
lib/jeeves/resolve_constant.rb,
lib/jeeves/resolve_dependency.rb,
lib/jeeves/define_imported_method.rb
Defined Under Namespace
Classes: DefineImportedMethod, Import, ResolveCallable, ResolveConstant, ResolveDependency, ResolveMethod, StubScope, UnresolvedDependency
Constant Summary
collapse
- MAJOR_VERSION =
0
- MINOR_VERSION =
2
- PATCH_VERSION =
3
- VERSION =
[MAJOR_VERSION, MINOR_VERSION, PATCH_VERSION].join('.')
Class Method Summary
collapse
Instance Method Summary
collapse
Class Method Details
.in_test_framework? ⇒ Boolean
22
23
24
|
# File 'lib/jeeves.rb', line 22
def self.in_test_framework?
defined?(RSpec) || defined?(Test::Unit)
end
|
Instance Method Details
#const_missing(name) ⇒ Object
#import(*args) ⇒ Object
10
11
12
|
# File 'lib/jeeves.rb', line 10
def import(*args)
Import.new.call(self, *args)
end
|