Sha256: 5a74b3451ab1bdb4034689413917b2cc6b50241a5361c38f940a9365309c72cb

Contents?: true

Size: 122 Bytes

Versions: 42

Compression:

Stored size: 122 Bytes

Contents

module Relaton
  module Render
    class Date
      def render
        @date&.sub(/-.*$/, "")
      end
    end
  end
end

Version data entries

42 entries across 42 versions & 1 rubygems

Version Path
metanorma-ogc-2.5.3 lib/relaton/render/date.rb
metanorma-ogc-2.5.2 lib/relaton/render/date.rb
metanorma-ogc-2.5.1 lib/relaton/render/date.rb
metanorma-ogc-2.5.0 lib/relaton/render/date.rb
metanorma-ogc-2.4.9 lib/relaton/render/date.rb
metanorma-ogc-2.4.7 lib/relaton/render/date.rb
metanorma-ogc-2.4.6 lib/relaton/render/date.rb
metanorma-ogc-2.4.3 lib/relaton/render/date.rb
metanorma-ogc-2.4.2 lib/relaton/render/date.rb
metanorma-ogc-2.4.1 lib/relaton/render/date.rb
metanorma-ogc-2.4.0 lib/relaton/render/date.rb
metanorma-ogc-2.3.14 lib/relaton/render/date.rb
metanorma-ogc-2.3.13 lib/relaton/render/date.rb
metanorma-ogc-2.3.12 lib/relaton/render/date.rb
metanorma-ogc-2.3.11 lib/relaton/render/date.rb
metanorma-ogc-2.3.10 lib/relaton/render/date.rb
metanorma-ogc-2.3.9 lib/relaton/render/date.rb
metanorma-ogc-2.3.8 lib/relaton/render/date.rb
metanorma-ogc-2.3.7 lib/relaton/render/date.rb
metanorma-ogc-2.3.6 lib/relaton/render/date.rb