Class: Fu::Mustache
- Inherits:
-
Object
- Object
- Fu::Mustache
- Defined in:
- lib/fu/mustache.rb
Constant Summary collapse
- SELF_CLOSING_TAGS =
%w(meta img link br hr input area param col base)
- BLOCK_ACTIONS =
<- Mustache actions that take a block
%w(# ^)
- NO_SPACE_CHARS =
<- Characters that do not need to be separated by a space
/[{}<>\s]|^$/
Instance Attribute Summary collapse
-
#mustache ⇒ Object
readonly
Returns the value of attribute mustache.
Instance Method Summary collapse
-
#initialize(root) ⇒ Mustache
constructor
when joining elements (e.g. “<p>!</p>”, not “<p> ! </p>”).
Constructor Details
Instance Attribute Details
#mustache ⇒ Object (readonly)
Returns the value of attribute mustache.
7 8 9 |
# File 'lib/fu/mustache.rb', line 7 def mustache @mustache end |