Class: Glark::MatchList
- Inherits:
-
Object
- Object
- Glark::MatchList
- Defined in:
- lib/glark/output/match_list.rb
Overview
not yet supported; will be matches stored instead of written to stdout.
Instance Attribute Summary collapse
-
#matches ⇒ Object
readonly
Returns the value of attribute matches.
Instance Method Summary collapse
-
#initialize(file, show_file_names) ⇒ MatchList
constructor
A new instance of MatchList.
Constructor Details
#initialize(file, show_file_names) ⇒ MatchList
Returns a new instance of MatchList.
10 11 12 13 |
# File 'lib/glark/output/match_list.rb', line 10 def initialize file, show_file_names super @matches = Array.new end |
Instance Attribute Details
#matches ⇒ Object (readonly)
Returns the value of attribute matches.
8 9 10 |
# File 'lib/glark/output/match_list.rb', line 8 def matches @matches end |