Class: Literal::AbstractLiteral
- Inherits:
-
Chunk::Abstract
- Object
- Chunk::Abstract
- Literal::AbstractLiteral
- Defined in:
- app/models/chunks/literal.rb
Instance Attribute Summary
Attributes inherited from Chunk::Abstract
#text, #unmask_mode, #unmask_text
Instance Method Summary collapse
-
#initialize(match_data, content) ⇒ AbstractLiteral
constructor
A new instance of AbstractLiteral.
Methods inherited from Chunk::Abstract
apply_to, #escaped?, #id, inherited, #mask, mask_re, mask_string, #rendered?, #revert, #unmask
Constructor Details
#initialize(match_data, content) ⇒ AbstractLiteral
Returns a new instance of AbstractLiteral.
11 12 13 14 |
# File 'app/models/chunks/literal.rb', line 11 def initialize(match_data, content) super @unmask_text = @text end |