lib/esvg.rb
# Add SVG build task to `rake assets:precompile`
Add SVG build task to `rake assets:precompile`
Add SVG build task to ` rake assets : precompile `
def precompile_assets
    if rails? && defined?(Rake)
      ::Rake::Task['assets:precompile'].enhance do
        svgs.map(&:build)
      end
    end
  end
def precompile_assets if rails? && defined? ( Rake ) :: Rake :: Task [ 'assets:precompile' ] . enhance do svgs . map ( & :build ) end end end
Add SVG build task to `rake assets:precompile`
Add SVG build task to ` rake assets : precompile `