Method: Moob::Pec#initialize
- Defined in:
- lib/moob/pec.rb
#initialize(hostname, options = {}) ⇒ Pec
Returns a new instance of Pec.
17 18 19 20 21 22 |
# File 'lib/moob/pec.rb', line 17 def initialize hostname, = {} super hostname, @username ||= 'root' @password ||= 'root' @index = nil end |