Exception: Beefcake::Message::DuplicateFieldNumber

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

Instance Method Summary collapse

Constructor Details

#initialize(num, name) ⇒ DuplicateFieldNumber

Returns a new instance of DuplicateFieldNumber.


27
28
29
# File 'lib/beefcake.rb', line 27

def initialize(num, name)
  super("Field number #{num} (#{name}) was already used")
end