Class: Object

Inherits:
BasicObject
Defined in:
lib/purview/refinements/object.rb

Instance Method Summary collapse

Instance Method Details

#quotedObject



2
3
4
# File 'lib/purview/refinements/object.rb', line 2

def quoted
  "'#{self}'"
end

#sanitizedObject



6
7
8
# File 'lib/purview/refinements/object.rb', line 6

def sanitized
  self.to_s.sanitized
end