Sha256: aebba9dc342decac44066c0bf555978778fee2b2e0d1321e8bfa2fbbc5fc1d2c
Contents?: true
Size: 464 Bytes
Versions: 9
Compression:
Stored size: 464 Bytes
Contents
module Document # :nodoc: #Input or output data # #value - the data value or a (possibly nested) list of data values class Data attr_accessor :value, :annotation def initialize(value=nil, annotation=nil) @value = value @annotation = annotation end def eql?(other) @value.eql?(other.value) and @annotation.eql?(other.annotation) end def ==(other) @value == other.value and @annotation == other.annotation end end end
Version data entries
9 entries across 9 versions & 4 rubygems