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

Version Path
wagn-1.14.9 lib/card/generators/format/format_generator.rb
wagn-1.14.8 lib/card/generators/format/format_generator.rb
wagn-1.14.7 lib/card/generators/format/format_generator.rb
wagn-1.14.6 lib/card/generators/format/format_generator.rb
wagn-1.14.5 lib/card/generators/format/format_generator.rb
wagn-1.14.4 lib/card/generators/format/format_generator.rb
wagn-1.14.3 lib/card/generators/format/format_generator.rb
wagn-1.14.2 lib/card/generators/format/format_generator.rb
wagn-1.14.1 lib/card/generators/format/format_generator.rb
wagn-1.14.0 lib/card/generators/format/format_generator.rb
wagn-1.14.0.pre3 lib/card/generators/format/format_generator.rb
wagn-1.14.0.pre2 lib/card/generators/format/format_generator.rb
wagn-1.14.0.pre1 lib/card/generators/format/format_generator.rb