Method: Inch::Evaluation::File#initialize
- Defined in:
- lib/inch/evaluation/file.rb
#initialize(filename, objects) ⇒ File
Returns a new instance of File.
8 9 10 11 12 13 |
# File 'lib/inch/evaluation/file.rb', line 8 def initialize(filename, objects) self.filename = filename self.objects = objects.select do |o| o.filename == filename end end |