Class: ArchivesspaceChecker::RuleKeyStr

Inherits:
Delegator
  • Object
show all
Defined in:
archivesspace_checker.rb

Overview

A tagged string class, used to attach phase information to the rule descriptions

Delegates most functionality to String

Instance Attribute Summary (collapse)

Instance Method Summary (collapse)

Constructor Details

- (RuleKeyStr) initialize(obj)

Returns a new instance of RuleKeyStr

Parameters:

  • obj (String)

    internal string instance to delegate to



61
62
63
64
65
# File 'archivesspace_checker.rb', line 61

def initialize(obj)
  super
  @str = obj
  @manual = nil
end

Instance Attribute Details

- (Object) manual=(value) (writeonly)

Sets the attribute manual

Parameters:

  • value

    the value to set the attribute manual to.



58
59
60
# File 'archivesspace_checker.rb', line 58

def manual=(value)
  @manual = value
end

Instance Method Details

- (Boolean) manual?

Requires manual intervention to fix this error?

Returns:

  • (Boolean)


68
69
70
# File 'archivesspace_checker.rb', line 68

def manual?
  @manual
end