class URITemplate::Unconvertable

This error will be raised whenever an object could not be converted to a param string.

Attributes

object[R]

Public Class Methods

new(object) click to toggle source
Calls superclass method
# File lib/uri_template/utils.rb, line 72
def initialize(object)
  @object = object
  super("Could not convert the given object (#{Object.instance_method(:inspect).bind(@object).call() rescue '<????>'}) to a param since it doesn't respond to :to_param or :to_s.")
end