Class: JavaClass::VariableInfo

Inherits:
Object
  • Object
show all
Includes:
Base
Defined in:
lib/javaclass/attribute.rb

Overview

変数情報(Object_variable_info,Uninitialized_variable_info以外)

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Base

#==, #===, #dump, #eql?, #hash, #to_byte

Constructor Details

#initialize(tag) ⇒ VariableInfo

コンストラクタ

*tag::タグ



1298
1299
1300
# File 'lib/javaclass/attribute.rb', line 1298

def initialize(tag)
  @tag = tag
end

Instance Attribute Details

#tagObject

タグ



1305
1306
1307
# File 'lib/javaclass/attribute.rb', line 1305

def tag
  @tag
end

Instance Method Details

#to_bytesObject



1301
1302
1303
# File 'lib/javaclass/attribute.rb', line 1301

def to_bytes
  to_byte( tag, 1 )
end