Sha256: 153e478bb8c40c93adc638522dbf77a99497f0599bea803bdd6820bfa4d43ffe

Contents?: true

Size: 392 Bytes

Versions: 2

Compression:

Stored size: 392 Bytes

Contents

require 'orats/commands/common'
require 'orats/commands/new/rails'

module Orats
  module Commands
    class Play < Common
      include New::Rails

      def initialize(target_path = '', options = {})
        super
      end

      def init
        exit_if_path_exists

        rails_template 'play'
        custom_rails_template unless @options[:template].empty?
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
orats-0.6.5 lib/orats/commands/play.rb
orats-0.6.4 lib/orats/commands/play.rb