Class: VivlioStarter::CLI::PostProcessCommands::ReplacementRules::Rule
- Inherits:
-
Data
- Object
- Data
- VivlioStarter::CLI::PostProcessCommands::ReplacementRules::Rule
- Defined in:
- lib/vivlio_starter/cli/post_process/replacement_rules.rb
Overview
1 ルール。mode は旧 rule_mode の推定結果を明示化したもの:
:text_only … <pre>/<code>/全タグを退避しテキストノードのみに適用
:tag_aware … <pre> ブロックのみ退避して全体に適用
Instance Attribute Summary collapse
-
#mode ⇒ Object
readonly
Returns the value of attribute mode.
-
#pattern ⇒ Object
readonly
Returns the value of attribute pattern.
-
#replacement ⇒ Object
readonly
Returns the value of attribute replacement.
Instance Attribute Details
#mode ⇒ Object (readonly)
Returns the value of attribute mode
23 24 25 |
# File 'lib/vivlio_starter/cli/post_process/replacement_rules.rb', line 23 def mode @mode end |
#pattern ⇒ Object (readonly)
Returns the value of attribute pattern
23 24 25 |
# File 'lib/vivlio_starter/cli/post_process/replacement_rules.rb', line 23 def pattern @pattern end |
#replacement ⇒ Object (readonly)
Returns the value of attribute replacement
23 24 25 |
# File 'lib/vivlio_starter/cli/post_process/replacement_rules.rb', line 23 def replacement @replacement end |