Sha256: aa1a51c82bb67bdfd9e19610b90af2a624fb79c5190232f3091fd4165f5b8cff

Contents?: true

Size: 323 Bytes

Versions: 8

Compression:

Stored size: 323 Bytes

Contents

# lib/generators/plutus/plutus_generator.rb
require 'rails/generators'
require 'rails/generators/migration'
require_relative 'base_generator'

module Plutus
  class PlutusGenerator < BaseGenerator
    def create_migration_file
      migration_template 'migration.rb', 'db/migrate/create_plutus_tables.rb'
    end
  end
end

Version data entries

8 entries across 8 versions & 3 rubygems

Version Path
plutus-0.17 lib/generators/plutus/plutus_generator.rb
plutus-0.16 lib/generators/plutus/plutus_generator.rb
plutus-0.15 lib/generators/plutus/plutus_generator.rb
plutus-0.14 lib/generators/plutus/plutus_generator.rb
tyche-0.14 lib/generators/plutus/plutus_generator.rb
odania_plutus-0.13 lib/generators/plutus/plutus_generator.rb
plutus-0.13 lib/generators/plutus/plutus_generator.rb
plutus-0.12.2 lib/generators/plutus/plutus_generator.rb