Sha256: 6be924aecb6b0ef7140075586f1305ee8d8a29522d850a041104815d145d4355
Contents?: true
Size: 266 Bytes
Versions: 163
Compression:
Stored size: 266 Bytes
Contents
module Generator class Exercise using Generator::Underscore attr_reader :slug def initialize(slug:) @slug = slug end def name @name ||= slug.underscore end def case_class slug.camel_case + 'Case' end end end
Version data entries
163 entries across 163 versions & 1 rubygems