Exception: TurboStreamer::Errors::MergeError

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

Class Method Summary collapse

Class Method Details

.build(updates) ⇒ Object



4
5
6
7
# File 'lib/turbostreamer/errors.rb', line 4

def self.build(updates)
  message = "Can't merge #{updates.inspect} which isn't Hash or Array"
  new(message)
end