Sha256: ebb4e01782fafa89e85278e1652b1d43eb9ba2f59f1370efafba2195bdf98331

Contents?: true

Size: 302 Bytes

Versions: 5

Compression:

Stored size: 302 Bytes

Contents

class Reporter::Field::Base

	def initialize structure, alias_name
		@structure = structure
		@name = alias_name
	end

	def validate
		raise NotImplementedError
	end

	def calculate_value data_source, options
		raise NotImplementedError
	end

	attr_reader :name

	protected
	attr_reader :structure

end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
reporter-0.0.5 lib/reporter/field/base.rb
reporter-0.0.4 lib/reporter/field/base.rb
reporter-0.0.3 lib/reporter/field/base.rb
reporter-0.0.2 lib/reporter/field/base.rb
reporter-0.0.1 lib/reporter/field/base.rb