lib/fudge/helpers/bundle_aware.rb

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
module Fudge
  module Helpers
    # Work with Bundler
    module BundleAware
      private
      def bundle_cmd(original, options={})
        if options[:bundler]
          "bundle exec #{original}"
        else
          original
        end
      end
    end
  end
end