class Freshen::UpdateMethodNotImplementedError

A NotImplementedError subclass for when the update method of a freshener subclass has not been implemented.

Attributes

name[R]

Public Class Methods

new(freshener) click to toggle source
# File lib/freshen/errors.rb, line 28
def initialize(freshener)
  @name = freshener.class.name.split('::').last
end

Public Instance Methods

to_s() click to toggle source
# File lib/freshen/errors.rb, line 32
def to_s
  "#{@name} does not implement the update method"
end