class ErrorReport
Attributes
Category[RW]
ErrorItemCollection[RW]
Public Class Methods
new()
click to toggle source
# File lib/mundipagg/ErrorReport.rb, line 8 def initialize @ErrorItemCollection = Array.new; end
Public Instance Methods
to_json()
click to toggle source
# File lib/mundipagg/ErrorReport.rb, line 12 def to_json hash = {} instance_variables.each {|var| hash[var.to_s.delete('@')] = instance_variable_get(var) } hash end