Sha256: 944d5d9692af31dd3b13c891550923a5ad1402560c272b34426f45b854d014e7
Contents?: true
Size: 615 Bytes
Versions: 4
Compression:
Stored size: 615 Bytes
Contents
module RDF::LDP ## # Version Number # # @example getting a version string # RDF::LDP::VERSION # or # "#{RDF::LDP::VERSION}" # module VERSION FILE = File.expand_path('../../../../VERSION', __FILE__) MAJOR, MINOR, TINY, EXTRA = File.read(FILE).chomp.split('.') STRING = [MAJOR, MINOR, TINY, EXTRA].compact.join('.').freeze ## # @return [String] def self.to_s STRING end ## # @return [String] def self.to_str STRING end ## # @return [Array(Integer, Integer, Integer)] def self.to_a [MAJOR, MINOR, TINY] end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
rdf-ldp-2.1.0 | lib/rdf/ldp/version.rb |
rdf-ldp-1.0.1 | lib/rdf/ldp/version.rb |
rdf-ldp-1.0.0 | lib/rdf/ldp/version.rb |
rdf-ldp-0.9.3 | lib/rdf/ldp/version.rb |