Sha256: d56f657785a2bdb4e4ecde9a6b08fe0a9721726e7629b5d6e096a32a773eab83

Contents?: true

Size: 196 Bytes

Versions: 25

Compression:

Stored size: 196 Bytes

Contents

s = %q{content: Fixtures::Application.routes.draw do
  resources :users}

marker = 'routes.draw do'

puts "esc marker: #{Regexp.escape(marker.to_s)}"
  
puts (s =~ /#{Regexp.escape(marker.to_s)}/)

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
sugar-high-0.4.4.1 sandbox/test_routes_mutate.rb
sugar-high-0.4.4 sandbox/test_routes_mutate.rb
sugar-high-0.4.3 sandbox/test_routes_mutate.rb
sugar-high-0.4.0 sandbox/test_routes_mutate.rb
sugar-high-0.3.7 sandbox/test_routes_mutate.rb