Module: Jass
- Defined in:
- lib/jass.rb,
lib/jass/base.rb,
lib/jass/errors.rb,
lib/jass/plugin.rb,
lib/jass/railtie.rb,
lib/jass/version.rb,
lib/jass/compiler.rb,
lib/jass/function.rb,
lib/jass/dependency.rb,
lib/jass/es6_processor.rb,
lib/jass/bundle_processor.rb,
lib/jass/global_directive_processor.rb
Defined Under Namespace
Classes: Base, BundleProcessor, Compiler, Dependency, DependencyError, ES6Processor, Error, Function, GlobalDirectiveProcessor, JavaScriptError, Plugin, Railtie
Constant Summary
collapse
- VERSION =
'0.9.3'
Class Attribute Summary collapse
Class Method Summary
collapse
Class Attribute Details
.plugins ⇒ Object
Returns the value of attribute plugins.
10
11
12
|
# File 'lib/jass.rb', line 10
def plugins
@plugins
end
|
.vendor_modules_root ⇒ Object
Returns the value of attribute vendor_modules_root.
10
11
12
|
# File 'lib/jass.rb', line 10
def vendor_modules_root
@vendor_modules_root
end
|
Class Method Details
.append_plugin(package, name, arguments = nil, root = nil) ⇒ Object
21
22
23
24
|
# File 'lib/jass.rb', line 21
def append_plugin(package, name, arguments = nil, root = nil)
Compiler.append_plugin(package, name, arguments, root)
@compiler = nil
end
|
.compiler ⇒ Object
26
27
28
|
# File 'lib/jass.rb', line 26
def compiler
@compiler ||= Jass::Compiler.new
end
|
.modules_root ⇒ Object
12
13
14
|
# File 'lib/jass.rb', line 12
def modules_root
File.join(File.dirname(__FILE__), '..', 'vendor')
end
|
.prepend_plugin(package, name, arguments = nil, root = nil) ⇒ Object
16
17
18
19
|
# File 'lib/jass.rb', line 16
def prepend_plugin(package, name, arguments = nil, root = nil)
Compiler.prepend_plugin(package, name, arguments, root)
@compiler = nil
end
|