Sha256: 4f9aade8196bc18030596a3e75bc189f57f47ad699479c32f3b8cd92c0964c4b

Contents?: true

Size: 338 Bytes

Versions: 3

Compression:

Stored size: 338 Bytes

Contents

require "rails"
require 'rails/generators'
require 'bundler'

module Admin
  class MainGenerator < Rails::Generators::Base
    source_root File.expand_path("../templates", __FILE__)
    argument :template, type: :string, default: "default"

    def add
      generate 'inital:gemfile'
      generate 'inital:rspec_base'
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
teleporter-0.0.6 lib/generators/admin/main.rb
teleporter-0.0.5 lib/generators/admin/main.rb
teleporter-0.0.4 lib/generators/admin/main.rb