Class: Dcov::RDocOptionsMock
- Inherits:
-
Object
- Object
- Dcov::RDocOptionsMock
- Defined in:
- lib/dcov/analyzer.rb
Overview
Mocked options object to feed to RDoc
Instance Attribute Summary collapse
-
#files ⇒ Object
Returns the value of attribute files.
Instance Method Summary collapse
-
#initialize(file_list) ⇒ RDocOptionsMock
constructor
A new instance of RDocOptionsMock.
- #method_missing(*args) ⇒ Object
Constructor Details
#initialize(file_list) ⇒ RDocOptionsMock
Returns a new instance of RDocOptionsMock.
89 90 91 |
# File 'lib/dcov/analyzer.rb', line 89 def initialize(file_list) @files = file_list end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(*args) ⇒ Object
93 94 95 |
# File 'lib/dcov/analyzer.rb', line 93 def method_missing(*args) false end |
Instance Attribute Details
#files ⇒ Object
Returns the value of attribute files.
87 88 89 |
# File 'lib/dcov/analyzer.rb', line 87 def files @files end |