Class: Fathom::Invertor
Instance Attribute Summary
Attributes inherited from Node
#description, #distribution, #name, #values
Instance Method Summary collapse
-
#initialize(opts = {}) ⇒ Invertor
constructor
A new instance of Invertor.
- #value ⇒ Object
Methods inherited from Node
#add_child, #add_parent, #children, #inspect, #name_sym, #parents, #register_child, #register_parent, #simple_inspect
Constructor Details
#initialize(opts = {}) ⇒ Invertor
Returns a new instance of Invertor.
5 6 7 8 |
# File 'lib/fathom/archive/inverter.rb', line 5 def initialize(opts={}) super(opts) @name ||= "Inverter" end |
Instance Method Details
#value ⇒ Object
10 11 12 |
# File 'lib/fathom/archive/inverter.rb', line 10 def value -1 end |