class Interscript::Node

Public Class Methods

new() click to toggle source
# File lib/interscript/node.rb, line 3
def initialize
  raise NotImplementedError, "You can't construct a Node directly"
end

Public Instance Methods

==(other) click to toggle source
# File lib/interscript/node.rb, line 7
def ==(other)
  self.class == other.class
end
to_hash() click to toggle source
# File lib/interscript/node.rb, line 11
def to_hash
  { :class => self.class.to_s,
    :question => "is something missing?"
  }
end