Class: GetText::MO::Header

Inherits:
Struct
  • Object
show all
Defined in:
lib/gettext/mo.rb

Direct Known Subclasses

HeaderRev1

Instance Attribute Summary collapse

Instance Attribute Details

#hash_table_offsetObject

Returns the value of attribute hash_table_offset

Returns:

  • (Object)

    the current value of hash_table_offset


28
29
30
# File 'lib/gettext/mo.rb', line 28

def hash_table_offset
  @hash_table_offset
end

#hash_table_sizeObject

Returns the value of attribute hash_table_size

Returns:

  • (Object)

    the current value of hash_table_size


28
29
30
# File 'lib/gettext/mo.rb', line 28

def hash_table_size
  @hash_table_size
end

#magicObject

Returns the value of attribute magic

Returns:

  • (Object)

    the current value of magic


28
29
30
# File 'lib/gettext/mo.rb', line 28

def magic
  @magic
end

#nstringsObject

Returns the value of attribute nstrings

Returns:

  • (Object)

    the current value of nstrings


28
29
30
# File 'lib/gettext/mo.rb', line 28

def nstrings
  @nstrings
end

#orig_table_offsetObject

Returns the value of attribute orig_table_offset

Returns:

  • (Object)

    the current value of orig_table_offset


28
29
30
# File 'lib/gettext/mo.rb', line 28

def orig_table_offset
  @orig_table_offset
end

#revisionObject

Returns the value of attribute revision

Returns:

  • (Object)

    the current value of revision


28
29
30
# File 'lib/gettext/mo.rb', line 28

def revision
  @revision
end

#translated_table_offsetObject

Returns the value of attribute translated_table_offset

Returns:

  • (Object)

    the current value of translated_table_offset


28
29
30
# File 'lib/gettext/mo.rb', line 28

def translated_table_offset
  @translated_table_offset
end