Sha256: 3dc7da0d359d0aec61f3e06ce19351f670f2b68fcb0bdb3c9bae7b05cd9a7ee3

Contents?: true

Size: 242 Bytes

Versions: 2

Compression:

Stored size: 242 Bytes

Contents

require 'bently/recipe_class/ruby'
module Bently
  class RailsRecipe < RubyRecipe

    def generate command
      run "bundle exec rails generate #{command}"
    end

    def migrate
      run 'bundle exec rake db:migrate'
    end

  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
bently-1.0.2 lib/bently/recipe_class/rails.rb
bently-1.0.1 lib/bently/recipe_class/rails.rb