Sha256: 0cc58fb9e783eadbbd2d7b31ce8ac3473dfd6bd0e8eba6e20469a64ef669136d

Contents?: true

Size: 267 Bytes

Versions: 2

Compression:

Stored size: 267 Bytes

Contents

module GraphQLGenerator
	def self.root
		File.dirname __dir__
	end

	class MyRailtie < Rails::Railtie
		generator_path = GraphQLGenerator::root.+'/graphql_generator/generator/graph_ql_generator.rb'

		config.app_generators do
			require generator_path
		end
	end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
graphql-generator-0.0.3 lib/graphql_generator/railtie.rb
graphql-generator-0.0.2 lib/graphql_generator/railtie.rb