Class: Dcov::RDocOptionsMock

Inherits:
Object
  • Object
show all
Defined in:
lib/dcov/analyzer.rb

Overview

Mocked options object to feed to RDoc

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#filesObject

Returns the value of attribute files.



87
88
89
# File 'lib/dcov/analyzer.rb', line 87

def files
  @files
end