lib/inky/rails/engine.rb in inky-rb-1.3.6.1 vs lib/inky/rails/engine.rb in inky-rb-1.3.6.2
- old
+ new
@@ -2,10 +2,10 @@
module Inky
module Rails
class Engine < ::Rails::Engine
if config.respond_to?(:annotations)
- config.annotations.register_extensions("inky") { |annotation| /\/\/\s*(#{annotation}):?\s*(.*)$/ }
+ config.annotations.register_extensions("inky") { |annotation| %r(//\s*(#{annotation}):?\s*(.*)$) }
end
end
end
end