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



6
7
8
9
# File 'lib/turbostreamer/errors.rb', line 6

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