Sha256: 4ed5282ac9531db8d8b7085c766fba969d3fb46c0178494e3d2ca273b1399cd4

Contents?: true

Size: 375 Bytes

Versions: 4

Compression:

Stored size: 375 Bytes

Contents

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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
fathom-0.3.2 lib/fathom/archive/inverter.rb
fathom-0.3.1 lib/fathom/archive/inverter.rb
fathom-0.3.0 lib/fathom/inverter.rb
fathom-0.2.3 lib/fathom/inverter.rb