Sha256: 6db0ab1a007e909e722ee972a828ca10e3ccfe33ff5f10c81d8771fb2586eacc
Contents?: true
Size: 392 Bytes
Versions: 22
Compression:
Stored size: 392 Bytes
Contents
require 'erb' require 'fileutils' module Bourdain module Generators class Generator < Bourdain::Resource protected def valid? name name =~ /[_a-z]+/ end def normalized name File::basename(name, '.rb') end end end end require_relative 'generators/attribute' require_relative 'generators/cookbook' require_relative 'generators/recipe'
Version data entries
22 entries across 22 versions & 1 rubygems