Class: Clr::Search::Item
- Inherits:
-
Struct
- Object
- Struct
- Clr::Search::Item
- Defined in:
- lib/clr/search.rb
Instance Attribute Summary collapse
-
#filepath ⇒ Object
Returns the value of attribute filepath.
-
#matches ⇒ Object
Returns the value of attribute matches.
-
#pattern ⇒ Object
Returns the value of attribute pattern.
Instance Method Summary collapse
Instance Attribute Details
#filepath ⇒ Object
Returns the value of attribute filepath
5 6 7 |
# File 'lib/clr/search.rb', line 5 def filepath @filepath end |
#matches ⇒ Object
Returns the value of attribute matches
5 6 7 |
# File 'lib/clr/search.rb', line 5 def matches @matches end |
#pattern ⇒ Object
Returns the value of attribute pattern
5 6 7 |
# File 'lib/clr/search.rb', line 5 def pattern @pattern end |
Instance Method Details
#matches_count ⇒ Object
6 7 8 |
# File 'lib/clr/search.rb', line 6 def matches_count matches.count end |