module Booby
Constants
- VERSION
Public Class Methods
open(fname)
click to toggle source
Public: Initializes a parser with loaded source code.
source - The String file name to load.
Returns initialized Parser
.
# File lib/booby.rb, line 21 def self.open(fname) return Parser.new(File.read(fname)) end
prepare(source)
click to toggle source
Public: Initializes a parser with given source code.
source - The String source code of a config file.
Returns initialized Parser
.
# File lib/booby.rb, line 12 def self.prepare(source) return Parser.new(source) end