class Urushiol::Vcl
Public Class Methods
new(vcl_file_ref)
click to toggle source
# File lib/vcl.rb, line 4 def initialize (vcl_file_ref) @vcl = "" parse(vcl_file_ref) end
Public Instance Methods
get_conf()
click to toggle source
# File lib/vcl.rb, line 16 def get_conf @vcl end
parse(vcl_file_ref)
click to toggle source
# File lib/vcl.rb, line 9 def parse (vcl_file_ref) file = File.open(vcl_file_ref) file.each do |line| @vcl << line end end