Sha256: cdfbd8ce827cba073ab9a4e2110dd49d6f3bdb512497932efce7eebd19a2d9a2
Contents?: true
Size: 173 Bytes
Versions: 1
Compression:
Stored size: 173 Bytes
Contents
class Generator attr_reader :format def initialize(format) @format = format.downcase end def generate format.split('').map(&:namna_sub).join('') end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
namna-0.0.3 | lib/namna/generator.rb |