class General::GExtend

Includes another file in the template

Author: Anshul Kharbanda Created: 1 - 30 - 2017

Constants

REGEX

Regular expression matches GExtend

Attributes

filename[R]

Read filename

Public Class Methods

new(match) click to toggle source

Creates a new GExtend

Parameters: match - the match result returned from the parser

Calls superclass method
# File lib/gprepartials/gextend.rb, line 40
def initialize(match); super; @filename = match[:filename]; end