Sha256: b9dff07989a53c0eb2e0b82a87f3ab445e60f02d72244a49990b6d81048d1d73

Contents?: true

Size: 337 Bytes

Versions: 6

Compression:

Stored size: 337 Bytes

Contents

# frozen_string_literal: true

require 'rails/generators'

module Lite
  module Query
    class InstallGenerator < Rails::Generators::Base

      source_root File.expand_path('../templates', __FILE__)

      def copy_application_query_file
        copy_file('install.rb', 'app/queries/application_query.rb')
      end

    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
lite-query-1.0.5 lib/generators/lite/query/install_generator.rb
lite-query-1.0.4 lib/generators/lite/query/install_generator.rb
lite-query-1.0.3 lib/generators/lite/query/install_generator.rb
lite-query-1.0.2 lib/generators/lite/query/install_generator.rb
lite-query-1.0.1 lib/generators/lite/query/install_generator.rb
lite-query-1.0.0 lib/generators/lite/query/install_generator.rb