Sha256: 21201aac016fc9cc431e999d28c42ea5decda0c47c6ad1625a1c9a82e18a3843
Contents?: true
Size: 437 Bytes
Versions: 1
Compression:
Stored size: 437 Bytes
Contents
module Rasm module Java class Attribute attr_reader :name def initialize(cp, name, data) @cp, @name, @data = cp, name, data end def value @cp[@data.unpack('n')[0]].val end class << self def of(cp, name, data) case name when 'Code' else Attribute.new(cp, name, data) end end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rasm-0.0.1 | lib/rasm/java/attributes.rb |