Sha256: 0e3908fc6e8a9a6c3ed709e58ad8a38859c987c20fce9e9f20691ba0bebb5f50

Contents?: true

Size: 250 Bytes

Versions: 3

Compression:

Stored size: 250 Bytes

Contents

module FogExtensions
  module Fogdocker
    module Image
      extend ActiveSupport::Concern

      include ActionView::Helpers::NumberHelper

      def name
        repo_tags.empty? ? (repository || id) : repo_tags.first
      end

    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
foreman_docker-0.0.3 app/models/concerns/fog_extensions/fogdocker/image.rb
foreman_docker-0.0.2 app/models/concerns/fog_extensions/fogdocker/image.rb
foreman_docker-0.0.1 app/models/concerns/fog_extensions/fogdocker/image.rb