Class: ONIX::ExtentUnit

Inherits:
CodeFromYaml show all
Defined in:
lib/onix/code.rb

Instance Attribute Summary

Attributes inherited from Code

#code

Attributes included from Attributes

#attributes

Low level collapse

Methods inherited from CodeFromYaml

code_ident, code_identifier, hash, list

Methods inherited from Code

from_code, from_human, hash

Methods included from CodeMethods

#onix, #parse

Methods inherited from Subset

parse, #parse, #tag_match, #unsupported

Methods included from Attributes

attribute_class, #parse_attributes, #serialized_attributes

Instance Method Details

#humanString

Returns humanized name (from code): Characters (01), Words (02), Pages (03), HoursIntegerAndDecimals (04), MinutesIntegerAndDecimals (05), SecondsIntegerOnly (06), Tracks (11), Discs (12), HoursHhh (14), HoursAndMinutesHhhmm (15), HoursMinutesSecondsHhhmmss (16), Bytes (17), Kbytes (18), Mbytes (19).

Returns:

  • (String)

    humanized name (from code): Characters (01), Words (02), Pages (03), HoursIntegerAndDecimals (04), MinutesIntegerAndDecimals (05), SecondsIntegerOnly (06), Tracks (11), Discs (12), HoursHhh (14), HoursAndMinutesHhhmm (15), HoursMinutesSecondsHhhmmss (16), Bytes (17), Kbytes (18), Mbytes (19)



179
# File 'lib/onix/code.rb', line 179

code_identifier 24