Class: PigCI::Decorator
- Inherits:
-
Object
- Object
- PigCI::Decorator
- Defined in:
- lib/pig_ci/decorator.rb
Direct Known Subclasses
Defined Under Namespace
Classes: ReportTerminalDecorator
Instance Attribute Summary collapse
-
#object ⇒ Object
Returns the value of attribute object.
Instance Method Summary collapse
-
#initialize(object) ⇒ Decorator
constructor
A new instance of Decorator.
Constructor Details
#initialize(object) ⇒ Decorator
Returns a new instance of Decorator.
4 5 6 |
# File 'lib/pig_ci/decorator.rb', line 4 def initialize(object) @object = object end |
Instance Attribute Details
#object ⇒ Object
Returns the value of attribute object.
2 3 4 |
# File 'lib/pig_ci/decorator.rb', line 2 def object @object end |