Method: PatternPatch::Patch#global
- Defined in:
- lib/pattern_patch/patch.rb
#global ⇒ true, false
Setting this to true will apply the patch to all matches in the file. By default (when false), the patch is only applied to the first match.
29 30 31 |
# File 'lib/pattern_patch/patch.rb', line 29 def global @global end |