Sha256: 699a3c00ff5c50d0b17f89e9478ba2b343c10aacdb49e2a797edeabe6c3cdcc9

Contents?: true

Size: 366 Bytes

Versions: 2

Compression:

Stored size: 366 Bytes

Contents

# frozen_string_literal: true
module ActiveRepresenter
  module Generators
    class InstallGenerator < Rails::Generators::Base
      source_root File.expand_path("../templates", __FILE__)

      def copy_application_representer_file
        template "application_representer.rb", File.join("app/representers/application_representer.rb")
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
lightrails-0.0.7 lib/generators/active_representer/install_generator.rb
lightrails-0.0.6 lib/generators/active_representer/install_generator.rb