Class: NodeJSListStore
- Inherits:
-
Object
- Object
- NodeJSListStore
- Defined in:
- lib/puppet/parser/functions/util/nodejs_functions.rb
Constant Summary collapse
- @@list =
nil
Class Method Summary collapse
Class Method Details
.add(list) ⇒ Object
24 25 26 |
# File 'lib/puppet/parser/functions/util/nodejs_functions.rb', line 24 def self.add(list) @@list = list end |
.cached? ⇒ Boolean
28 29 30 |
# File 'lib/puppet/parser/functions/util/nodejs_functions.rb', line 28 def self.cached? @@list.nil? == false end |
.get ⇒ Object
32 33 34 |
# File 'lib/puppet/parser/functions/util/nodejs_functions.rb', line 32 def self.get @@list end |