Module: KDecor
- Defined in:
- lib/k_decor.rb,
lib/k_decor/helper.rb,
lib/k_decor/version.rb,
lib/k_decor/configuration.rb,
lib/k_decor/base_decorator.rb,
lib/k_decor/decorator_hash.rb,
lib/k_decor/resolve_instance.rb
Defined Under Namespace
Modules: ResolveInstance
Classes: BaseDecorator, Configuration, DecoratorHash, Error, Helper
Constant Summary
collapse
- VERSION =
'0.0.7'
Class Attribute Summary collapse
Class Method Summary
collapse
Class Attribute Details
.decorate ⇒ Object
Returns the value of attribute decorate.
18
19
20
|
# File 'lib/k_decor.rb', line 18
def decorate
@decorate
end
|
Class Method Details
28
29
30
|
# File 'lib/k_decor.rb', line 28
def configure
yield(configuration)
end
|