Class: Android::Resource::ResTableTypeSpec

Inherits:
ChunkHeader show all
Defined in:
lib/android/resource.rb

Instance Attribute Summary collapse

Attributes inherited from ChunkHeader

#header_size, #size, #type

Instance Method Summary collapse

Methods inherited from Chunk

#current_position, #exec_parse, #initialize, #read_int16, #read_int32, #read_int8

Constructor Details

This class inherits a constructor from Android::Resource::Chunk

Instance Attribute Details

#entry_countObject (readonly)

Returns the value of attribute entry_count.



491
492
493
# File 'lib/android/resource.rb', line 491

def entry_count
  @entry_count
end

#idObject (readonly)

Returns the value of attribute id.



491
492
493
# File 'lib/android/resource.rb', line 491

def id
  @id
end

Instance Method Details

#inspectObject



502
503
504
# File 'lib/android/resource.rb', line 502

def inspect
  "<ResTableTypeSpec id:#{@id} entry count:#{@entry_count}>"
end