Sha256: 3cdf0dc8b2c0415023886cc109e29486cb4ab827bd2bebaf8d04c9127773a04c

Contents?: true

Size: 313 Bytes

Versions: 1

Compression:

Stored size: 313 Bytes

Contents

# frozen_string_literal: true

module DispatchRider
  class InstallGenerator < ::Rails::Generators::Base
    source_root File.expand_path("../templates", __FILE__)

    def create_scripts
      copy_file "script/dispatch_rider", "script/dispatch_rider"
      chmod 'script/dispatch_rider', 0755
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
dispatch-rider-2.2.0 lib/generators/dispatch_rider/install/install_generator.rb