class KBSecret::Exceptions::RecordCreationArityError

Raised during record creation if too many/few arguments are given.

Public Class Methods

new(exp, act) click to toggle source

@param exp [Integer] the number of expected arguments @param act [Integer] the number of actual arguments

Calls superclass method
# File lib/kbsecret/exceptions.rb, line 31
def initialize(exp, act)
  super "Needed #{exp} arguments for this record, got #{act}"
end