Sha256: f9b5ed8b0b226a69cf20f8e20e38c8b1982a5c4d41f37ddf97898e332a739fac
Contents?: true
Size: 197 Bytes
Versions: 5
Compression:
Stored size: 197 Bytes
Contents
class ClassyEnumGenerator < Rails::Generator::NamedBase def manifest record do |m| m.directory 'app/enums' m.template "enum.erb", "app/enums/#{file_name}.rb" end end end
Version data entries
5 entries across 5 versions & 1 rubygems