Sha256: 459a54cb5b93c05b981027d9de4045d07c23b39e6e61c00397fed816716b4faf

Contents?: true

Size: 430 Bytes

Versions: 15

Compression:

Stored size: 430 Bytes

Contents

# frozen_string_literal: true

require "jets/generators"
require "jets/commands/generate/generate_command"

module Jets
  module Command
    class DegenerateCommand < GenerateCommand # :nodoc:
      desc "Degenerate", "Opposite of generate. Removes the generated code."
      long_desc Help.text(:degenerate)
      def perform(*)
        super
      end

    private
      def behavior
        :revoke
      end
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
jets-5.0.13 lib/jets/commands/degenerate/degenerate_command.rb
jets-5.0.12 lib/jets/commands/degenerate/degenerate_command.rb
jets-5.0.11 lib/jets/commands/degenerate/degenerate_command.rb
jets-5.0.10 lib/jets/commands/degenerate/degenerate_command.rb
jets-5.0.9 lib/jets/commands/degenerate/degenerate_command.rb
jets-5.0.8 lib/jets/commands/degenerate/degenerate_command.rb
jets-5.0.7 lib/jets/commands/degenerate/degenerate_command.rb
jets-5.0.6 lib/jets/commands/degenerate/degenerate_command.rb
jets-5.0.5 lib/jets/commands/degenerate/degenerate_command.rb
jets-5.0.4 lib/jets/commands/degenerate/degenerate_command.rb
jets-5.0.3 lib/jets/commands/degenerate/degenerate_command.rb
jets-5.0.2 lib/jets/commands/degenerate/degenerate_command.rb
jets-5.0.1 lib/jets/commands/degenerate/degenerate_command.rb
jets-5.0.0 lib/jets/commands/degenerate/degenerate_command.rb
jets-5.0.0.beta1 lib/jets/commands/degenerate/degenerate_command.rb