Method: Connect::Dsl#load_file

Defined in:
lib/connect/lexer.rb

#load_file(filename) ⇒ Object



35
36
37
38
39
40
# File 'lib/connect/lexer.rb', line 35

def load_file( filename )
  @filename = filename
  open(filename, "r") do |f|
    scan_setup(f.read)
  end
end