Method: JSI::Ptr#pointer

Defined in:
lib/jsi/ptr.rb

#pointerString

the pointer string representation of this pointer

Returns:

  • (String)


134
135
136
# File 'lib/jsi/ptr.rb', line 134

def pointer
  tokens.map { |t| '/' + t.to_s.gsub('~', '~0').gsub('/', '~1') }.join('').freeze
end