class FFIDB::Location

Public Instance Methods

to_h() click to toggle source

@return [Hash<Symbol, Object>]

# File lib/ffidb/location.rb, line 13
def to_h
  {file: self.file, line: self.line}
end
to_s() click to toggle source

@return [String]

# File lib/ffidb/location.rb, line 7
def to_s
  "#{self.file}:#{self.line}"
end