class MSFL::Datasets::Animal

This is a fake dataset definition that shows the structure for composing your own and is used for testing

msfl

It differs from the other examples in that it overrides operators

Public Instance Methods

fields() click to toggle source
# File lib/msfl/datasets/animal.rb, line 15
def fields
  [:name, :gender, :age, :type]
end
foreigns() click to toggle source
# File lib/msfl/datasets/animal.rb, line 11
def foreigns
  [:person]
end
operators() click to toggle source
Calls superclass method MSFL::Datasets::Base#operators
# File lib/msfl/datasets/animal.rb, line 19
def operators
  super.concat [:animal_specific_operator]
end