Sha256: e0a05ec20aa514d139be22f1dae7f87c2defe4509da4320c31dafc3bf8cf4405
Contents?: true
Size: 280 Bytes
Versions: 6
Compression:
Stored size: 280 Bytes
Contents
module Graphql class ResolverGenerator < Rails::Generators::NamedBase source_root File.expand_path('../templates', __FILE__) def create_resolver template 'resolver.erb', File.join('app/graphql/resolvers', class_path, "#{file_name}_resolver.rb") end end end
Version data entries
6 entries across 6 versions & 1 rubygems