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.



365
366
367
# File 'lib/android/resource.rb', line 365

def entry_count
  @entry_count
end

#idObject (readonly)

Returns the value of attribute id.



365
366
367
# File 'lib/android/resource.rb', line 365

def id
  @id
end

Instance Method Details

#inspectObject



376
377
378
# File 'lib/android/resource.rb', line 376

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