Sha256: c4e10d9cf6eb81a2c7deb5b84b2259ecc25a6ba83477e1e0d01b68209500f5d7

Contents?: true

Size: 383 Bytes

Versions: 4

Compression:

Stored size: 383 Bytes

Contents

require File.expand_path(File.join(File.dirname(__FILE__), '..', 'fathom'))
module Fathom
  class Invertor < Fathom::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.7 lib/fathom/archive/inverter.rb
fathom-0.3.6 lib/fathom/archive/inverter.rb
fathom-0.3.4 lib/fathom/archive/inverter.rb
fathom-0.3.3 lib/fathom/archive/inverter.rb