Exception: Yabeda::AlreadyConfiguredError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/yabeda/errors.rb

Overview

Raises on repeated call to Yabeda.configure!

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(configuring_location) ⇒ AlreadyConfiguredError

Returns a new instance of AlreadyConfiguredError.



8
9
10
11
# File 'lib/yabeda/errors.rb', line 8

def initialize(configuring_location)
  super
  @message = "Yabeda was already configured in #{configuring_location}"
end

Instance Attribute Details

#messageObject (readonly)

Returns the value of attribute message.



13
14
15
# File 'lib/yabeda/errors.rb', line 13

def message
  @message
end