Sha256: fc2eea53903daf8feb44ae54ef95208ccebd025ac81ce4b33c9e88d311533e81

Contents?: true

Size: 210 Bytes

Versions: 1

Compression:

Stored size: 210 Bytes

Contents

Rcurse::Helper.new("include") do |args, context|
	if context.path then
		file_path = File.expand_path(args[0], context.path)
	else 
		file_path = args[0]
	end
  Rcurse::render(File.read(file_path), context)
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rcurse-0.5.1 lib/rcurse/helpers/include.rb