Sha256: d0eb2120a6ee9b8ad9ada8994a11d4c2fdc84baf615cc0deaea623fbb9663cf9

Contents?: true

Size: 584 Bytes

Versions: 4

Compression:

Stored size: 584 Bytes

Contents

require "rails"

module DatetimePickerInput
  module Generators
    class InstallGenerator < ::Rails::Generators::Base
      desc "This generator installs DatetimePickerInput #{DatetimePickerInput::VERSION}"
      source_root File.expand_path("../../templates", __FILE__)

      def install_datetime_picker_input
        say_status("Installing", "DatetimePickerInput (#{DatetimePickerInput::VERSION})", :green)
        template "inputs/datetime_picker_input.rb", "app/inputs/datetime_picker_input.rb" if !File.exist?("app/inputs/datetime_picker_input.rb")
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
datetime_picker_input-4.17.47 lib/generators/datetime_picker_input.rb/install_generator.rb
datetime_picker_input-4.17.37.1 lib/generators/datetime_picker_input.rb/install_generator.rb
datetime_picker_input-4.17.37 lib/generators/datetime_picker_input.rb/install_generator.rb
datetime_picker_input-4.0.0 lib/generators/datetime_picker_input.rb/install_generator.rb