Sha256: dd262183beacce1d3f2fb44858feb5a904e1a9f10c6af02c4facbb2fa406affd

Contents?: true

Size: 304 Bytes

Versions: 102

Compression:

Stored size: 304 Bytes

Contents

# frozen_string_literal: true

module EacRailsBase0
  class AbilitiesGenerator < Rails::Generators::Base
    source_root File.expand_path('templates', __dir__)

    def copy_bin
      %w[ability ability_mapping].each do |base|
        copy_file "#{base}.rb", "lib/#{base}.rb"
      end
    end
  end
end

Version data entries

102 entries across 102 versions & 1 rubygems

Version Path
eac_rails_base0-0.23.1 lib/generators/eac_rails_base0/abilities/abilities_generator.rb
eac_rails_base0-0.23.0 lib/generators/eac_rails_base0/abilities/abilities_generator.rb
eac_rails_base0-0.22.0 lib/generators/eac_rails_base0/abilities/abilities_generator.rb
eac_rails_base0-0.21.0 lib/generators/eac_rails_base0/abilities/abilities_generator.rb
eac_rails_base0-0.20.0 lib/generators/eac_rails_base0/abilities/abilities_generator.rb
eac_rails_base0-0.19.0 lib/generators/eac_rails_base0/abilities/abilities_generator.rb
eac_rails_base0-0.18.0 lib/generators/eac_rails_base0/abilities/abilities_generator.rb
eac_rails_base0-0.17.0 lib/generators/eac_rails_base0/abilities/abilities_generator.rb
eac_rails_base0-0.16.0 lib/generators/eac_rails_base0/abilities/abilities_generator.rb
eac_rails_base0-0.15.2 lib/generators/eac_rails_base0/abilities/abilities_generator.rb
eac_rails_base0-0.15.1 lib/generators/eac_rails_base0/abilities/abilities_generator.rb
eac_rails_base0-0.15.0 lib/generators/eac_rails_base0/abilities/abilities_generator.rb
eac_rails_base0-0.14.0 lib/generators/eac_rails_base0/abilities/abilities_generator.rb
eac_rails_base0-0.13.2 lib/generators/eac_rails_base0/abilities/abilities_generator.rb
eac_rails_base0-0.13.1 lib/generators/eac_rails_base0/abilities/abilities_generator.rb
eac_rails_base0-0.13.0 lib/generators/eac_rails_base0/abilities/abilities_generator.rb
eac_rails_base0-0.12.0 lib/generators/eac_rails_base0/abilities/abilities_generator.rb
eac_rails_base0-0.11.0 lib/generators/eac_rails_base0/abilities/abilities_generator.rb
eac_rails_base0-0.9.0 lib/generators/eac_rails_base0/abilities/abilities_generator.rb
eac_rails_base0-0.8.0 lib/generators/eac_rails_base0/abilities/abilities_generator.rb