Sha256: 9eeb925155ed6e8d159c189f3dddc35752e67666eb623d2c16c1fde627c4cde9

Contents?: true

Size: 440 Bytes

Versions: 1

Compression:

Stored size: 440 Bytes

Contents

class CrossStubGenerator < Rails::Generator::Base

  def manifest
    record do |m|
      m.file 'config/initializers/cross-stub.rb', 'config/initializers/cross-stub.rb'
      m.file 'features/support/cross-stub.rb', 'features/support/cross-stub.rb'
      m.gsub_file 'config/environments/cucumber.rb', /\z/, "config.gem 'cross-stub', :version => '>=0.1.2'\n"
    end
  end

protected

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

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
cross-stub-0.1.2 rails_generators/cross_stub/cross_stub_generator.rb