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/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, Utilities
Constant Summary collapse
- VERSION =
"0.5.4"
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.
58 59 60 |
# File 'lib/pattern_patch.rb', line 58 def safe_level @safe_level end |
.trim_mode ⇒ String?
The default trim mode to use with ERb. Defaults to nil.
63 64 65 |
# File 'lib/pattern_patch.rb', line 63 def trim_mode @trim_mode end |