class ApacheCrunch::DerivationRule

Abstract for classes that define how to obtain a given element from the value of another.

Public Instance Methods

derive(name, source_value) click to toggle source

Derives the given derivable element from the given element value

# File lib/derivation.rb, line 10
def derive(name, source_value)
    raise NotImplementedError
end
source_name() click to toggle source

Returns the name of the element from which this rule derives values

# File lib/derivation.rb, line 5
def source_name
    raise NotImplementedError
end