Method: Transpec::ProcessedSource#initialize

Defined in:
lib/transpec/processed_source.rb

#initialize(buffer, ast, path = nil, syntax_error = nil) ⇒ ProcessedSource

Returns a new instance of ProcessedSource.



37
38
39
40
41
42
# File 'lib/transpec/processed_source.rb', line 37

def initialize(buffer, ast, path = nil, syntax_error = nil)
  @buffer = buffer
  @ast = ast
  @path = path
  @syntax_error = syntax_error
end