class InputSanitizer::ValueNotAllowedError

Public Class Methods

new(value) click to toggle source
Calls superclass method
# File lib/input_sanitizer/errors.rb, line 48
def initialize(value)
  @value = value
  super("is not included in the list")
end

Public Instance Methods

code() click to toggle source
# File lib/input_sanitizer/errors.rb, line 44
def code
  :inclusion
end