Sha256: 38879e8cd29691d471df91b034f4e8690b5ec58a5f8009df08f4e9075b7c3ef6

Contents?: true

Size: 333 Bytes

Versions: 10

Compression:

Stored size: 333 Bytes

Contents

class FormatGenerator < Rails::Generators::NamedBase
  source_root File.expand_path('../templates', __FILE__)
  
  def create_files
    template 'format_template.erb',           "mods/standard/formats/#{file_name}_format.rb"
    template 'format_spec_template.erb', "spec/mods/standard/formats/#{file_name}_format_spec.rb"
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
wagn-1.13.0.pre2 lib/card/generators/format/format_generator.rb
wagn-1.13.0.pre1 lib/card/generators/format/format_generator.rb
wagn-1.13.0.pre lib/card/generators/format/format_generator.rb
wagn-1.12.13 lib/generators/format/format_generator.rb
wagn-1.12.12 lib/generators/format/format_generator.rb
wagn-1.12.11 lib/generators/format/format_generator.rb
wagn-1.12.10 lib/generators/format/format_generator.rb
wagn-1.12.9 lib/generators/format/format_generator.rb
wagn-1.12.8 lib/generators/format/format_generator.rb
wagn-1.12.7 lib/generators/format/format_generator.rb