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

Version Path
mannie-taverna-scufl-0.6.0 lib/document/data.rb
mannie-taverna-scufl-0.6.1 lib/document/data.rb
mannie-taverna-scufl-0.6.2 lib/document/data.rb
mannie-taverna-scufl-0.7.0 lib/document/data.rb
mannie-taverna-scufl-0.7.1 lib/document/data.rb
mannie-taverna_scufl-0.6.0 lib/document/data.rb
myGrid-taverna-scufl-0.6.0 lib/document/data.rb
taverna-scufl-0.7.2 lib/document/data.rb
taverna-scufl-0.7.1 lib/document/data.rb