class Relaxo::Model::TypeError

Attributes

document[R]

Public Class Methods

new(document) click to toggle source
Calls superclass method
# File lib/relaxo/model/document.rb, line 40
def initialize(document)
        @document = document
        
        super "Expected type #{@document.class.type} but got #{@document.type}!"
end