class Identifiable::Errors::StyleMustBeAValidStyleError

Public Class Methods

new(style_value) click to toggle source
Calls superclass method
# File lib/identifiable/errors.rb, line 27
def initialize(style_value)
  style_value_string = style_value.to_s || 'nil'
  super("The identifiable\'s style must be a valid stylist. You passed in #{style_value_string}, but the valid options are: #{Identifiable::Stylist::VALID_STYLES}")
end