Class: RDF::Literal

Inherits:
Object
  • Object
show all
Defined in:
lib/rdf/spec/inspects.rb

Overview

override several inspect functions to improve output for what we're doing

Instance Method Summary collapse

Instance Method Details

#inspectObject


5
6
7
# File 'lib/rdf/spec/inspects.rb', line 5

def inspect
  "\"#{escape(value)}\" R:L:(#{self.class.to_s.match(/([^:]*)$/)})"
end