Sha256: a99e4ce17c0bd826a3dae0105c47353ace9182e02c97dd5032464c83de4cdecb

Contents?: true

Size: 250 Bytes

Versions: 9

Compression:

Stored size: 250 Bytes

Contents

class HumansGenerator < Rails::Generators::Base
  source_root File.expand_path('../templates', __FILE__)

  desc "This generator creates a boilerplate humans.txt file"

  def copy_humans_txt
    copy_file 'humans.txt', 'public/humans.txt'
  end

end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
slices-2.0.2 lib/generators/humans/humans_generator.rb
slices-2.0.1 lib/generators/humans/humans_generator.rb
slices-2.0.0 lib/generators/humans/humans_generator.rb
slices-1.0.5 lib/generators/humans/humans_generator.rb
slices-1.0.4 lib/generators/humans/humans_generator.rb
slices-1.0.3 lib/generators/humans/humans_generator.rb
slices-1.0.2 lib/generators/humans/humans_generator.rb
slices-1.0.1 lib/generators/humans/humans_generator.rb
slices-1.0.0 lib/generators/humans/humans_generator.rb