Class: Pubid::Nist::Preprocessor::Result

Inherits:
Struct
  • Object
show all
Defined in:
lib/pubid/nist/preprocessor.rb

Overview

Outcome of preprocessing. cleaned - the normalized identifier string ready for the grammar format - :mr if the input uses dot-separators, :short otherwise

Instance Attribute Summary collapse

Instance Attribute Details

#cleanedObject

Returns the value of attribute cleaned

Returns:

  • (Object)

    the current value of cleaned



21
22
23
# File 'lib/pubid/nist/preprocessor.rb', line 21

def cleaned
  @cleaned
end

#formatObject

Returns the value of attribute format

Returns:

  • (Object)

    the current value of format



21
22
23
# File 'lib/pubid/nist/preprocessor.rb', line 21

def format
  @format
end