Class: FuzzyFileFinder::CharacterRun
- Inherits:
-
Struct
- Object
- Struct
- FuzzyFileFinder::CharacterRun
- Defined in:
- lib/dotfiles/vim/ruby/fuzzy_file_finder.rb
Overview
Used internally to represent a run of characters within a match. This is used to build the highlighted version of a file name.
Instance Attribute Summary collapse
-
#inside ⇒ Object
Returns the value of attribute inside.
-
#string ⇒ Object
Returns the value of attribute string.
Instance Method Summary collapse
Instance Attribute Details
#inside ⇒ Object
Returns the value of attribute inside
53 54 55 |
# File 'lib/dotfiles/vim/ruby/fuzzy_file_finder.rb', line 53 def inside @inside end |
#string ⇒ Object
Returns the value of attribute string
53 54 55 |
# File 'lib/dotfiles/vim/ruby/fuzzy_file_finder.rb', line 53 def string @string end |
Instance Method Details
#to_s ⇒ Object
54 55 56 57 58 59 60 |
# File 'lib/dotfiles/vim/ruby/fuzzy_file_finder.rb', line 54 def to_s if inside "(#{string})" else string end end |