Class: Dms::Tier1::DocumentT1

Inherits:
Object
  • Object
show all
Defined in:
lib/dms/tier1.rb

Overview

── Tier-1 document ─────────────────────────────────────────────────────

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(t0, decorators, imports, observed_tier) ⇒ DocumentT1

Returns a new instance of DocumentT1.



231
232
233
234
235
236
# File 'lib/dms/tier1.rb', line 231

def initialize(t0, decorators, imports, observed_tier)
  @t0 = t0
  @decorators = decorators
  @imports = imports       # Array of ImportSpec
  @observed_tier = observed_tier
end

Instance Attribute Details

#decoratorsObject (readonly)

Returns the value of attribute decorators.



229
230
231
# File 'lib/dms/tier1.rb', line 229

def decorators
  @decorators
end

#importsObject (readonly)

Returns the value of attribute imports.



229
230
231
# File 'lib/dms/tier1.rb', line 229

def imports
  @imports
end

#observed_tierObject (readonly)

Returns the value of attribute observed_tier.



229
230
231
# File 'lib/dms/tier1.rb', line 229

def observed_tier
  @observed_tier
end

#t0Object (readonly)

Returns the value of attribute t0.



229
230
231
# File 'lib/dms/tier1.rb', line 229

def t0
  @t0
end