vendor/bundle/ruby/1.8/gems/emissary-1.3.13/lib/emissary/config.rb
#
# call-seq:
#    parse
#
# Loops over each line of the file, passing it off to the parse_line method
#
call-seq:
parse

Loops over each line of the file, passing it off to the parse_line method
call - seq : parse Loops over each line of the file passing it off to the parse_line method
def parse
      return unless ::Kernel.test ?f, @fn
      @section_name = nil
      ::File.open(@fn, 'r') do |f|
        while line = f.gets
          @line_number += 1
          parse_line line.chomp
        end
      end
      @section_name = nil
      @line_number  = 0
      return
    end
def parse return unless :: Kernel . test ?f , @fn @section_name = nil :: File . open ( @fn , 'r' ) do | f | while line = f . gets @line_number += 1 parse_line line . chomp end end @section_name = nil @line_number = 0 return end
call-seq:
parse
call - seq : parse