Sha256: e233d557520e966144b364e6824085ebdda31c4730b1f7ec71ef76635aa56543

Contents?: true

Size: 251 Bytes

Versions: 3

Compression:

Stored size: 251 Bytes

Contents

#!/usr/bin/env ruby
module ExaltedMath
  class Node
    def initialize(*)
    end

    def constant?
      true
    end

    def value(context={})
      nil
    end

    def simplify
      self
    end

    def valid?(*)
      false
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
exalted_math-0.2.2 lib/exalted_math/node/node.rb
exalted_math-0.2.1 lib/exalted_math/node/node.rb
exalted_math-0.2.0 lib/exalted_math/node/node.rb