Class: Hermeneutics::Cli::Pops

Inherits:
Pop
  • Object
show all
Defined in:
lib/hermeneutics/cli/pop.rb

Instance Method Summary collapse

Methods inherited from Pop

#count, #each, #login, #name

Constructor Details

#initialize(host, port = nil, certs = nil) ⇒ Pops

Returns a new instance of Pops.



74
75
76
77
78
79
80
# File 'lib/hermeneutics/cli/pop.rb', line 74

def initialize host, port = nil, certs = nil
  unless certs or Integer === port then
    port, certs = nil, port
  end
  @certs = File.expand_path certs if certs
  super host, port
end