Sha256: 3cd1ef7e05b7871805e1aab7ad190b3814630115abf312432256f554ee5cdd66

Contents?: true

Size: 215 Bytes

Versions: 8

Compression:

Stored size: 215 Bytes

Contents

module Danica
  class Hyperbole < Function.build(:x) { power(x, 2) }
  end
end

module Danica
  class SaddleHyperbole < Hyperbole
    variables :y

    def function_block
      super - power(y, 2)
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
danica-2.4.4 spec/support/models/functions/hyperbole.rb
danica-2.4.3 spec/support/models/functions/hyperbole.rb
danica-2.4.2 spec/support/models/functions/hyperbole.rb
danica-2.4.1 spec/support/models/functions/hyperbole.rb
danica-2.4.0 spec/support/models/functions/hyperbole.rb
danica-2.3.1 spec/support/models/functions/hyperbole.rb
danica-2.3.0 spec/support/models/functions/hyperbole.rb
danica-2.2.1 spec/support/models/functions/hyperbole.rb