Class: Covered::Include
Instance Attribute Summary collapse
-
#pattern ⇒ Object
readonly
Returns the value of attribute pattern.
Attributes inherited from Wrapper
Instance Method Summary collapse
- #each(&block) ⇒ Object
- #glob ⇒ Object
-
#initialize(output, pattern, base = "") ⇒ Include
constructor
A new instance of Include.
Methods inherited from Wrapper
#accept?, #add, #clear, #expand_path, #finish, #mark, #relative_path, #start, #to_h
Methods inherited from Base
#accept?, #add, #clear, #expand_path, #finish, #mark, #relative_path, #start
Constructor Details
#initialize(output, pattern, base = "") ⇒ Include
Returns a new instance of Include.
55 56 57 58 59 60 |
# File 'lib/covered/files.rb', line 55 def initialize(output, pattern, base = "") super(output) @pattern = pattern @base = base end |
Instance Attribute Details
#pattern ⇒ Object (readonly)
Returns the value of attribute pattern.
62 63 64 |
# File 'lib/covered/files.rb', line 62 def pattern @pattern end |