Sha256: 52f8163cec819f67eee7a23a2c23407d3bc0fd7f5f1cf0740cd6ee41b9fa4f30
Contents?: true
Size: 290 Bytes
Versions: 20
Compression:
Stored size: 290 Bytes
Contents
module SchemaSerializer::Generators class SerializerGenerator < Rails::Generators::NamedBase source_root File.expand_path("templates", __dir__) def create_serializer template "serializer.rb.erb", File.join("app/serializers", "#{file_name}_serializer.rb") end end end
Version data entries
20 entries across 20 versions & 1 rubygems