Sha256: 80bcdb3f95a245ceaea5ce94853fadec6ffe0f9045ea11fe98d43d8f73f7ae0b

Contents?: true

Size: 325 Bytes

Versions: 4

Compression:

Stored size: 325 Bytes

Contents

module Cream
  module GeneratorHelper
    module Executor
      # rails generate ...
      def rgen command
        execute "rails g #{command}"
      end        

      def execute command
        debug! command
        run command
      end

      def bundle_install
        run "bundle install"
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
cream-0.9.2 lib/generators/cream/helpers/execute_helper.rb
cream-0.9.1 lib/generators/cream/helpers/execute_helper.rb
cream-0.9.0 lib/generators/cream/helpers/execute_helper.rb
cream-0.8.9.3 lib/generators/cream/helpers/execute_helper.rb