Exception: MasterException
- Defined in:
- lib/poolparty/exceptions/MasterException.rb
Instance Attribute Summary collapse
-
#message ⇒ Object
readonly
Returns the value of attribute message.
Instance Method Summary collapse
-
#initialize(type = :no_ip, note = "") ⇒ MasterException
constructor
A new instance of MasterException.
Constructor Details
#initialize(type = :no_ip, note = "") ⇒ MasterException
Returns a new instance of MasterException.
7 8 9 |
# File 'lib/poolparty/exceptions/MasterException.rb', line 7 def initialize(type=:no_ip, note="") = "Master Exception: #{@messages[type]} #{note}" end |
Instance Attribute Details
#message ⇒ Object (readonly)
Returns the value of attribute message.
5 6 7 |
# File 'lib/poolparty/exceptions/MasterException.rb', line 5 def end |