Exception: Xampl::MixedPersisters

Inherits:
Exception
  • Object
show all
Defined in:
lib/xamplr/exceptions.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(active, local) ⇒ MixedPersisters

Returns a new instance of MixedPersisters.



111
112
113
# File 'lib/xamplr/exceptions.rb', line 111

def initialize(active, local)
  @msg = "mixed persisters:: active #{active.name}, local: #{local.name}"
end

Instance Attribute Details

#msgObject (readonly)

Returns the value of attribute msg.



109
110
111
# File 'lib/xamplr/exceptions.rb', line 109

def msg
  @msg
end

Instance Method Details

#messageObject



115
116
117
# File 'lib/xamplr/exceptions.rb', line 115

def message
  @msg
end