Object
# File lib/zip/extra_field/generic.rb, line 25 def ==(other) return false if self.class != other.class each do |k, v| v != other[k] and return false end true end
return field [size, content] or false
# File lib/zip/extra_field/generic.rb, line 14 def initial_parse(binstr) if !binstr # If nil, start with empty. return false elsif binstr[0, 2] != self.class.const_get(:HEADER_ID) $stderr.puts "Warning: weired extra feild header ID. skip parsing" return false end [binstr[2, 2].unpack("v")[0], binstr[4..-1]] end
Generated with the Darkfish Rdoc Generator 2.