Sha256: 0c57d38bd1bb5bbca7285d564c7e2145ef2863d40fa0d5e150499d3d00acf1b9

Contents?: true

Size: 172 Bytes

Versions: 9

Compression:

Stored size: 172 Bytes

Contents

module Pione
  module Util
    module BackslashNotation
      class << self
        def apply(s)
          s.to_s.gsub(/\\(.)/){$1}
        end
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
pione-0.5.0 lib/pione/util/backslash-notation.rb
pione-0.5.0.alpha.2 lib/pione/util/backslash-notation.rb
pione-0.5.0.alpha.1 lib/pione/util/backslash-notation.rb
pione-0.4.2 lib/pione/util/backslash-notation.rb
pione-0.4.1 lib/pione/util/backslash-notation.rb
pione-0.4.0 lib/pione/util/backslash-notation.rb
pione-0.3.2 lib/pione/util/backslash-notation.rb
pione-0.3.1 lib/pione/util/backslash-notation.rb
pione-0.3.0 lib/pione/util/backslash-notation.rb