Method: JSI::SchemaModule#inspect

Defined in:
lib/jsi/schema_classes.rb

#inspectString



30
31
32
33
34
35
36
37
38
39
40
# File 'lib/jsi/schema_classes.rb', line 30

def inspect
  if name_from_ancestor
    if schema.schema_absolute_uri
      -"#{name_from_ancestor} <#{schema.schema_absolute_uri}> (JSI Schema Module)"
    else
      -"#{name_from_ancestor} (JSI Schema Module)"
    end
  else
    -"(JSI Schema Module: #{schema.schema_uri || schema.jsi_ptr.uri})"
  end
end