Class: DataMetaDom::MigrCtx

Inherits:
Object
  • Object
show all
Defined in:
lib/dataMetaDom/util.rb

Overview

Migration context - for a record

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name) ⇒ MigrCtx

Returns a new instance of MigrCtx.



144
145
146
147
148
# File 'lib/dataMetaDom/util.rb', line 144

def initialize(name)
    @rec = name
    @canAuto = true # assume we can automigrate unless encounter problems that would require a HIT
    @isSkipped = false
end

Instance Attribute Details

#canAutoObject

Returns the value of attribute canAuto.



143
144
145
# File 'lib/dataMetaDom/util.rb', line 143

def canAuto
  @canAuto
end

#isSkippedObject

Returns the value of attribute isSkipped.



143
144
145
# File 'lib/dataMetaDom/util.rb', line 143

def isSkipped
  @isSkipped
end

#recObject

Returns the value of attribute rec.



143
144
145
# File 'lib/dataMetaDom/util.rb', line 143

def rec
  @rec
end