Class: Creamerscript::Sweeteners::Array
- Defined in:
- lib/creamerscript/sweeteners/array.rb
Constant Summary
Constants inherited from Base
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
#call, #initialize, #substitute, #to_coffee, #token, #tokenize, #type
Constructor Details
This class inherits a constructor from Creamerscript::Sweeteners::Base
Instance Method Details
#pattern ⇒ Object
4 5 6 |
# File 'lib/creamerscript/sweeteners/array.rb', line 4 def pattern /\[[^\[\]]+\]/ end |