Module: MagicPath
- Defined in:
- lib/magic_path/dynamic_path.rb,
lib/magic_path.rb,
lib/magic_path/version.rb,
lib/magic_path/path_manager.rb
Overview
Root namespace for our gem
Defined Under Namespace
Classes: DynamicPath, PathManager
Constant Summary
collapse
- VERSION =
'0.2.0'.freeze
Class Method Summary
collapse
Class Method Details
.instance ⇒ Object
19
20
21
|
# File 'lib/magic_path.rb', line 19
def instance
@instance ||= MagicPath::PathManager.new
end
|
.method_missing(meth, *args) ⇒ Object
11
12
13
|
# File 'lib/magic_path.rb', line 11
def method_missing(meth, *args)
instance.send(meth, *args)
end
|
.reset ⇒ Object
15
16
17
|
# File 'lib/magic_path.rb', line 15
def reset
@instance = nil
end
|
.respond_to?(meth) ⇒ Boolean
7
8
9
|
# File 'lib/magic_path.rb', line 7
def respond_to?(meth)
instance.respond_to?(meth)
end
|