Class: Yacht
- Inherits:
-
BasicObject
- Defined in:
- lib/yacht/base.rb,
lib/yacht/version.rb,
lib/yacht/classy_struct.rb
Defined Under Namespace
Classes: LoadError, Loader
Constant Summary
collapse
- VERSION =
"0.2.0"
Class Method Summary
collapse
Class Method Details
.[](key) ⇒ Object
6
7
8
|
# File 'lib/yacht/base.rb', line 6
def [](key)
self._hash[key]
end
|
._classy_struct ⇒ Object
28
29
30
|
# File 'lib/yacht/classy_struct.rb', line 28
def _classy_struct
@_classy_struct ||= Loader.to_classy_struct
end
|
._hash ⇒ Object
10
11
12
|
# File 'lib/yacht/base.rb', line 10
def _hash
@_hash ||= Loader.to_hash
end
|
.method_missing(method, *args, &block) ⇒ Object
24
25
26
|
# File 'lib/yacht/classy_struct.rb', line 24
def method_missing(method, *args, &block)
_classy_struct.send(method)
end
|