Sha256: 61176679ba58238d508a4f250d6a3ce3d31ef2fdfd85961c413bc4538af8cddc
Contents?: true
Size: 335 Bytes
Versions: 13
Compression:
Stored size: 335 Bytes
Contents
class FormatGenerator < Rails::Generators::NamedBase source_root File.expand_path('../templates', __FILE__) def create_files template 'format_template.erb', "mod/05_standard/format/#{file_name}_format.rb" template 'format_spec_template.erb', "spec/mod/05_standard/format/#{file_name}_format_spec.rb" end end
Version data entries
13 entries across 13 versions & 1 rubygems