Method: Codeqa::Sourcefile#initialize

Defined in:
lib/codeqa/sourcefile.rb

#initialize(filename, content = nil) ⇒ Sourcefile

Returns a new instance of Sourcefile.



10
11
12
13
14
# File 'lib/codeqa/sourcefile.rb', line 10

def initialize(filename, content=nil)
  @filename = filename
  @content = content
  # ensure_file
end