Sha256: e743349b0a706c27290fff8017baf5fb817dece5387bd82afc7f7dc2e74c0335

Contents?: true

Size: 468 Bytes

Versions: 8

Compression:

Stored size: 468 Bytes

Contents

class SPARQL::Client
  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

8 entries across 8 versions & 1 rubygems

Version Path
sparql-client-3.3.0 lib/sparql/client/version.rb
sparql-client-3.2.2 lib/sparql/client/version.rb
sparql-client-3.2.1 lib/sparql/client/version.rb
sparql-client-3.2.0 lib/sparql/client/version.rb
sparql-client-3.1.2 lib/sparql/client/version.rb
sparql-client-3.1.1 lib/sparql/client/version.rb
sparql-client-3.1.0 lib/sparql/client/version.rb
sparql-client-3.0.1 lib/sparql/client/version.rb