Sha256: 2fad25e25f089ca705c158e226dba0fad8e6ecbad336f56fa983f13eae9ec5a1
Contents?: true
Size: 205 Bytes
Versions: 16
Compression:
Stored size: 205 Bytes
Contents
class <%= class_name %> < ClassyEnum::Base enum_classes <%= values.map {|a| ":#{a}"}.join(", ") %> end <% values.each do |arg| %> class <%= class_name + arg.camelize %> < <%= class_name %> end <% end %>
Version data entries
16 entries across 16 versions & 1 rubygems