Sha256: 5f4aaf14fa853d1cb31818fbc431965ba4dbe371148733ab80b793460dcfae8d

Contents?: true

Size: 361 Bytes

Versions: 3

Compression:

Stored size: 361 Bytes

Contents

# frozen_string_literal: true

module Cmdlet
  # Miscellaneous cmdlets
  module Misc
    # Omit: this content will not get written out, useful for commenting out code
    class Omit < Cmdlet::BaseCmdlet
      #
      # @param [String|Int] value - value to omit
      # @return [String] empty stting
      def call(_value)
        ''
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
cmdlet-0.12.3 lib/cmdlet/misc/omit.rb
cmdlet-0.12.1 lib/cmdlet/misc/omit.rb
cmdlet-0.12.0 lib/cmdlet/misc/omit.rb