Exception: Spacebunny::ChannelsMustBeAnArray

Inherits:
StandardError
  • Object
show all
Defined in:
lib/spacebunny/exceptions.rb

Instance Method Summary collapse

Constructor Details

#initializeChannelsMustBeAnArray

Returns a new instance of ChannelsMustBeAnArray.



24
25
26
27
# File 'lib/spacebunny/exceptions.rb', line 24

def initialize
  message = "channels option must be an Array. E.g. [:data, :alarms]"
  super(message)
end