Method: Transpec::ProcessedSource.from_file

Defined in:
lib/transpec/processed_source.rb

.from_file(path) ⇒ Object



14
15
16
17
# File 'lib/transpec/processed_source.rb', line 14

def self.from_file(path)
  source = File.read(path)
  new(source, path)
end