class Render::Errors::Generator::MalformedAlgorithm

Attributes

algorithm[RW]

Public Class Methods

new(algorithm) click to toggle source
# File lib/render/errors.rb, line 19
def initialize(algorithm)
  self.algorithm = algorithm
end

Public Instance Methods

to_s() click to toggle source
# File lib/render/errors.rb, line 23
def to_s
  "Algorithms must respond to #call, which #{algorithm.inspect} does not."
end