Class: RequireJS::Exec::Render

Inherits:
Genetic
  • Object
show all
Defined in:
lib/requirejs.rb

Overview

The ‘Render RequireJS` executable.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Genetic

#open_file, #parse, #parse!

Constructor Details

#initialize(args) ⇒ Render

Returns a new instance of Render.

Parameters:

  • args (Array<String>)

    The command-line arguments



80
81
82
83
# File 'lib/requirejs.rb', line 80

def initialize(args)
	super
	@default_syntax = :requirejs
end

Instance Attribute Details

#default_syntaxObject (readonly)

Returns the value of attribute default_syntax.



77
78
79
# File 'lib/requirejs.rb', line 77

def default_syntax
  @default_syntax
end