Class String
In: lib/parser/compatibility/ruby1_8.rb
Parent: Object

@api public

This monkeypatch extends Ruby 1.8 {String#%} with an ability to replace named capture groups, i.e. `"foo: %{bar}" % { :bar => 10 } # => "foo: 10"`.

Methods

%  

External Aliases

% -> original_percent

Public Instance methods

[Validate]