Sha256: 962f5dda8058c6608e88210091b9c47147e3f10d86f10a7ba5b8524f0d67050f

Contents?: true

Size: 192 Bytes

Versions: 16

Compression:

Stored size: 192 Bytes

Contents

# frozen_string_literal: true

module Lcms
  module Engine
    module DocumentsHelper
      def toc_time(time)
        time.zero? ? raw('—') : "#{time} mins"
      end
    end
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
lcms-engine-0.5.5 app/helpers/lcms/engine/documents_helper.rb
lcms-engine-0.5.4 app/helpers/lcms/engine/documents_helper.rb
lcms-engine-0.5.3 app/helpers/lcms/engine/documents_helper.rb
lcms-engine-0.5.2 app/helpers/lcms/engine/documents_helper.rb
lcms-engine-0.5.1 app/helpers/lcms/engine/documents_helper.rb
lcms-engine-0.5.0 app/helpers/lcms/engine/documents_helper.rb
lcms-engine-0.4.2 app/helpers/lcms/engine/documents_helper.rb
lcms-engine-0.4.1 app/helpers/lcms/engine/documents_helper.rb
lcms-engine-0.4.0 app/helpers/lcms/engine/documents_helper.rb
lcms-engine-0.3.1 app/helpers/lcms/engine/documents_helper.rb
lcms-engine-0.1.4 app/helpers/lcms/engine/documents_helper.rb
lcms-engine-0.3.0 app/helpers/lcms/engine/documents_helper.rb
lcms-engine-0.1.3 app/helpers/lcms/engine/documents_helper.rb
lcms-engine-0.2.0 app/helpers/lcms/engine/documents_helper.rb
lcms-engine-0.1.2 app/helpers/lcms/engine/documents_helper.rb
lcms-engine-0.1.0 app/helpers/lcms/engine/documents_helper.rb