Exception: Droonga::MultiplexError
- Defined in:
- lib/droonga/error.rb
Instance Attribute Summary collapse
-
#errors ⇒ Object
readonly
Returns the value of attribute errors.
Instance Method Summary collapse
-
#initialize(errors = []) ⇒ MultiplexError
constructor
A new instance of MultiplexError.
Constructor Details
#initialize(errors = []) ⇒ MultiplexError
Returns a new instance of MultiplexError.
25 26 27 28 29 30 31 32 |
# File 'lib/droonga/error.rb', line 25 def initialize(errors=[]) @errors = errors = @errors.collect do |error| error. end = .sort.join("\n-----------------------\n") super() end |
Instance Attribute Details
#errors ⇒ Object (readonly)
Returns the value of attribute errors.
23 24 25 |
# File 'lib/droonga/error.rb', line 23 def errors @errors end |