Sha256: 9341dc730849bc365aeaca69704b67869e37c5f8e36d20136193b0742995427d
Contents?: true
Size: 182 Bytes
Versions: 2
Compression:
Stored size: 182 Bytes
Contents
class <%= class_name %> < ClassyEnum::Base enum_classes <%= args.map {|a| ":#{a}"}.join(", ") %> end <% args.each do |arg| %> class <%= class_name + arg.camelize %> end <% end %>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
classy_enum-0.6.1 | generators/templates/enum.rb |
classy_enum-0.6.0 | generators/templates/enum.rb |