class RPM::File::Tag

Constants

TAG

This data can be found mostly in rpmtag.h

TYPE

See ‘rpmTagType’ enum in rpmtag.h

Attributes

count[RW]
offset[RW]
tag[RW]
type[RW]
value[RW]

Public Class Methods

new(tag_id, type, offset, count, data) click to toggle source
# File lib/arr-pm/file/tag.rb, line 260
def initialize(tag_id, type, offset, count, data)
  @tag = tag_id
  @type = type
  @offset = offset
  @count = count

  @data = data

  @inspectables = [:@tag, :@type, :@offset, :@count, :@value]
end

Public Instance Methods

tag_as_int() click to toggle source
# File lib/arr-pm/file/tag.rb, line 275
def tag_as_int
  @tag
end