Class: Mmapper::Instance
- Inherits:
-
Object
- Object
- Mmapper::Instance
- Defined in:
- lib/mmapper.rb
Instance Method Summary collapse
- #find_matching_line(prefix) ⇒ Object
-
#initialize(filename) ⇒ Instance
constructor
A new instance of Instance.
Constructor Details
Instance Method Details
#find_matching_line(prefix) ⇒ Object
35 36 37 38 39 |
# File 'lib/mmapper.rb', line 35 def find_matching_line(prefix) result = Mmapper.find_matching_line(@mmapper_id, prefix) return nil if result.nil? || result.empty? result end |