Sha256: 2c8a5521a374c5ca446be4bbcc068e00860063ef82ac08c2405a7540e2a15928

Contents?: true

Size: 391 Bytes

Versions: 1

Compression:

Stored size: 391 Bytes

Contents

# frozen_string_literal: true

module Composable
  module View
    # Returns the currently-loaded version of Composable::View as a <tt>Gem::Version</tt>.
    def self.gem_version
      Gem::Version.new VERSION::STRING
    end

    module VERSION
      MAJOR = 0
      MINOR = 0
      TINY  = 12
      PRE   = nil

      STRING = [MAJOR, MINOR, TINY, PRE].compact.join(".")
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
composable-view-0.0.12 lib/composable/view/gem_version.rb