class AMF::Header
Attributes
data[RW]
required[RW]
target[RW]
Public Class Methods
new( target, required, data )
click to toggle source
# File lib/amf/header.rb, line 5 def initialize( target, required, data ) @target = target @required = required @data = data end
Public Instance Methods
each()
click to toggle source
needed this method, it is a bit of a hack
# File lib/amf/header.rb, line 16 def each self.to_hash.each end
to_hash()
click to toggle source
# File lib/amf/header.rb, line 11 def to_hash { 'name' => self.target, 'required' => self.required, 'data' => self.data } end