Class: Leibniz::Node
Instance Method Summary collapse
-
#initialize(instance) ⇒ Node
constructor
A new instance of Node.
- #ip ⇒ Object
Constructor Details
#initialize(instance) ⇒ Node
Returns a new instance of Node.
58 59 60 |
# File 'lib/leibniz.rb', line 58 def initialize(instance) @instance = instance end |
Instance Method Details
#ip ⇒ Object
62 63 64 |
# File 'lib/leibniz.rb', line 62 def ip instance.driver[:ipaddress] end |