require File.expand_path(File.join(File.dirname(__FILE__), '..', 'fathom')) module Fathom class Invertor < Node def initialize(opts={}) super(opts) @name ||= "Inverter" end def value -1 end end end if __FILE__ == $0 include Fathom # TODO: Is there anything you want to do to run this file on its own? # Invertor.new end