Sha256: 3a66c1dcd046e2ef62811bc73b5e583b7add72c7647b6888191a3c9d7d13f14d
Contents?: true
Size: 532 Bytes
Versions: 40
Compression:
Stored size: 532 Bytes
Contents
class Knj::Php_parser attr_reader :cont, :retcont def initialize(args) @args = args @cont = File.read(@args["file"]) if !args.key?("require_requirements") or args["require_requirements"] @retcont = "require \"knj/autoload\"\n" @retcont << "require \"php4r\"\n" @retcont << "require \"knj/php_parser/php_parser\"\n" @retcont << "\n" else @retcont = "" end end end require File.dirname(__FILE__) + "/functions.rb" module Knj::Php_parser::Functions #nothing here. end
Version data entries
40 entries across 40 versions & 1 rubygems