Class: FFIDB::Location
- Inherits:
-
Object
- Object
- FFIDB::Location
- Defined in:
- lib/ffidb/location.rb
Instance Method Summary collapse
Instance Method Details
#to_h ⇒ Hash<Symbol, Object>
13 14 15 |
# File 'lib/ffidb/location.rb', line 13 def to_h {file: self.file, line: self.line} end |
#to_s ⇒ String
7 8 9 |
# File 'lib/ffidb/location.rb', line 7 def to_s "#{self.file}:#{self.line}" end |