Class: Sanford::InvalidHostError
Instance Method Summary collapse
-
#initialize(host) ⇒ InvalidHostError
constructor
A new instance of InvalidHostError.
Constructor Details
#initialize(host) ⇒ InvalidHostError
Returns a new instance of InvalidHostError.
23 24 25 |
# File 'lib/sanford/exceptions.rb', line 23 def initialize(host) super "A port must be configured or provided to run a server for '#{host}'" end |