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.



363
364
365
# File 'lib/android/resource.rb', line 363

def entry_count
  @entry_count
end

#idObject (readonly)

Returns the value of attribute id.



363
364
365
# File 'lib/android/resource.rb', line 363

def id
  @id
end

Instance Method Details

#inspectObject



374
375
376
# File 'lib/android/resource.rb', line 374

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