class QuickStore::NotAllowedKeyError
Public Class Methods
new(key, forbidden_names)
click to toggle source
Calls superclass method
# File lib/quick_store/exceptions.rb, line 11 def initialize(key, forbidden_names) super( "There is a \"#{key.to_s.chop}\" instance method already " \ 'defined. This will lead to problems while getting values ' \ "from the store. Please use another key than #{forbidden_names}." ) end