Class: PigCI::Decorator

Inherits:
Object
  • Object
show all
Defined in:
lib/pig_ci/decorator.rb

Direct Known Subclasses

ReportTerminalDecorator

Defined Under Namespace

Classes: ReportTerminalDecorator

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#objectObject

Returns the value of attribute object


2
3
4
# File 'lib/pig_ci/decorator.rb', line 2

def object
  @object
end