Sha256: 93ce86700d3c511dc3f943a61e0c9c24f6452576c2d68e14afda2a7c4e5b9262

Contents?: true

Size: 415 Bytes

Versions: 10

Compression:

Stored size: 415 Bytes

Contents

class CulerityGenerator < Rails::Generator::Base
  
  def initialize(runtime_args, runtime_options = {})
    Dir.mkdir('features/step_definitions') unless File.directory?('features/step_definitions')
    super
  end

  def manifest
    record do |m|
      m.template  'common_celerity.rb', 'features/step_definitions/common_celerity.rb'
    end
  end

protected

  def banner
    "Usage: #{$0} culerity"
  end

end

Version data entries

10 entries across 10 versions & 2 rubygems

Version Path
caius-culerity-0.1.5 generators/culerity/culerity_generator.rb
caius-culerity-0.1.6 generators/culerity/culerity_generator.rb
caius-culerity-0.1.7 generators/culerity/culerity_generator.rb
caius-culerity-0.1.8 generators/culerity/culerity_generator.rb
langalex-culerity-0.1.1 generators/culerity/culerity_generator.rb
langalex-culerity-0.1.2 generators/culerity/culerity_generator.rb
langalex-culerity-0.1.3 generators/culerity/culerity_generator.rb
langalex-culerity-0.1.4 generators/culerity/culerity_generator.rb
langalex-culerity-0.1.5 generators/culerity/culerity_generator.rb
langalex-culerity-0.1.7 generators/culerity/culerity_generator.rb