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



30
31
32
# File 'lib/gettext/mo.rb', line 30

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



30
31
32
# File 'lib/gettext/mo.rb', line 30

def hash_table_size
  @hash_table_size
end

#magicObject

Returns the value of attribute magic

Returns:

  • (Object)

    the current value of magic



30
31
32
# File 'lib/gettext/mo.rb', line 30

def magic
  @magic
end

#nstringsObject

Returns the value of attribute nstrings

Returns:

  • (Object)

    the current value of nstrings



30
31
32
# File 'lib/gettext/mo.rb', line 30

def nstrings
  @nstrings
end

#orig_table_offsetObject

Returns the value of attribute orig_table_offset

Returns:

  • (Object)

    the current value of orig_table_offset



30
31
32
# File 'lib/gettext/mo.rb', line 30

def orig_table_offset
  @orig_table_offset
end

#revisionObject

Returns the value of attribute revision

Returns:

  • (Object)

    the current value of revision



30
31
32
# File 'lib/gettext/mo.rb', line 30

def revision
  @revision
end

#translated_table_offsetObject

Returns the value of attribute translated_table_offset

Returns:

  • (Object)

    the current value of translated_table_offset



30
31
32
# File 'lib/gettext/mo.rb', line 30

def translated_table_offset
  @translated_table_offset
end