Sha256: 535c18a553ad37a74056902f3a376d5327ab63c71b0cc492e2b2330fb6a1495a

Contents?: true

Size: 390 Bytes

Versions: 4

Compression:

Stored size: 390 Bytes

Contents

require File.expand_path(File.join(File.dirname(__FILE__), '..', 'fathom'))
module Fathom
  class Invertor
    include BasicNode
    
    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.2.2 lib/fathom/inverter.rb
fathom-0.2.1 lib/fathom/inverter.rb
fathom-0.2.0 lib/fathom/inverter.rb
fathom-0.1.0 lib/fathom/inverter.rb