Class: FileProcessor

Inherits:
Object
  • Object
show all
Defined in:
lib/file_sv/file_processor.rb

Overview

General render for any non special files

Class Method Summary collapse

Class Method Details

.process(filename) ⇒ Object

Process file, adding it to plan



8
9
10
11
# File 'lib/file_sv/file_processor.rb', line 8

def process(filename)
  endpoint = PlannedEndpoint.new(filename)
  SvPlan + endpoint unless GlobalSettings.ignored_status? endpoint.status_code
end