Module: Origami::Function

Included in:
Exponential, PostScript, Sampled, Stitching
Defined in:
lib/origami/functions.rb

Defined Under Namespace

Modules: Type Classes: Exponential, PostScript, Sampled, Stitching

Class Method Summary collapse

Class Method Details

.included(receiver) ⇒ Object



33
34
35
36
37
# File 'lib/origami/functions.rb', line 33

def self.included(receiver)
    receiver.field  :FunctionType,  :Type => Integer, :Required => true
    receiver.field  :Domain,        :Type => Array.of(Number), :Required => true
    receiver.field  :Range,         :Type => Array.of(Number)
end