Module: PatternPatch
- Extended by:
- Forwardable, Methods
- Defined in:
- lib/pattern_patch.rb,
lib/pattern_patch/patch.rb,
lib/pattern_patch/version.rb,
lib/pattern_patch/renderer.rb,
lib/pattern_patch/utilities.rb
Overview
Utility gem for modifying arbitrary text files using a method similar to rendering Rails partials.
Defined Under Namespace
Modules: Methods Classes: ConfigurationError, Error, Patch, Renderer, Utilities
Constant Summary collapse
- VERSION =
"1.1.0"
Class Attribute Summary collapse
-
.safe_level ⇒ Object?
The default safe level to use with ERb.
-
.trim_mode ⇒ String?
The default trim mode to use with ERb.
Attributes included from Methods
#patch_dir, #safe_level, #trim_mode
Method Summary
Methods included from Methods
Class Attribute Details
.safe_level ⇒ Object?
The default safe level to use with ERb. Defaults to nil.
85 86 87 |
# File 'lib/pattern_patch.rb', line 85 def safe_level @safe_level end |
.trim_mode ⇒ String?
The default trim mode to use with ERb. Defaults to nil.
90 91 92 |
# File 'lib/pattern_patch.rb', line 90 def trim_mode @trim_mode end |