Sha256: cd14884a779593146e27f910f43cf902b2943b110851a4c034c522b5c57c8966

Contents?: true

Size: 311 Bytes

Versions: 11

Compression:

Stored size: 311 Bytes

Contents

module HammerCLIForemanOpenscap
  module Options
    module Normalizers
      class ScapFile < HammerCLI::Options::Normalizers::File
        attr_reader :original_filename

        def format(path)
          @original_filename = path.split('/').last
          super path
        end
      end
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
hammer_cli_foreman_openscap-0.1.13 lib/hammer_cli_foreman_openscap/options/normalizers.rb
hammer_cli_foreman_openscap-0.1.12 lib/hammer_cli_foreman_openscap/options/normalizers.rb
hammer_cli_foreman_openscap-0.1.11 lib/hammer_cli_foreman_openscap/options/normalizers.rb
hammer_cli_foreman_openscap-0.1.10 lib/hammer_cli_foreman_openscap/options/normalizers.rb
hammer_cli_foreman_openscap-0.1.9 lib/hammer_cli_foreman_openscap/options/normalizers.rb
hammer_cli_foreman_openscap-0.1.8 lib/hammer_cli_foreman_openscap/options/normalizers.rb
hammer_cli_foreman_openscap-0.1.7 lib/hammer_cli_foreman_openscap/options/normalizers.rb
hammer_cli_foreman_openscap-0.1.6 lib/hammer_cli_foreman_openscap/options/normalizers.rb
hammer_cli_foreman_openscap-0.1.5 lib/hammer_cli_foreman_openscap/options/normalizers.rb
hammer_cli_foreman_openscap-0.1.4 lib/hammer_cli_foreman_openscap/options/normalizers.rb
hammer_cli_foreman_openscap-0.1.3 lib/hammer_cli_foreman_openscap/options/normalizers.rb