Sha256: 56020891315f7ad139fd40fe6e26e682e310573cdbb416b664b1e57850b835f0

Contents?: true

Size: 597 Bytes

Versions: 125

Compression:

Stored size: 597 Bytes

Contents

module MultiXml
  module Version
  module_function

    # @return [Integer]
    def major
      0
    end

    # @return [Integer]
    def minor
      6
    end

    # @return [Integer]
    def patch
      0
    end

    # @return [Integer, NilClass]
    def pre
      nil
    end

    # @return [Hash]
    def to_h
      {
        :major => major,
        :minor => minor,
        :patch => patch,
        :pre => pre,
      }
    end

    # @return [Array]
    def to_a
      [major, minor, patch, pre].compact
    end

    # @return [String]
    def to_s
      to_a.join('.')
    end
  end
end

Version data entries

125 entries across 99 versions & 6 rubygems

Version Path
harbr-0.1.78 vendor/bundle/ruby/3.2.0/gems/multi_xml-0.6.0/lib/multi_xml/version.rb
harbr-0.1.77 vendor/bundle/ruby/3.2.0/gems/multi_xml-0.6.0/lib/multi_xml/version.rb
harbr-0.1.76 vendor/bundle/ruby/3.2.0/gems/multi_xml-0.6.0/lib/multi_xml/version.rb
harbr-0.1.75 vendor/bundle/ruby/3.2.0/gems/multi_xml-0.6.0/lib/multi_xml/version.rb
harbr-0.1.74 vendor/bundle/ruby/3.2.0/gems/multi_xml-0.6.0/lib/multi_xml/version.rb
harbr-0.1.73 vendor/bundle/ruby/3.2.0/gems/multi_xml-0.6.0/lib/multi_xml/version.rb
harbr-0.1.72 vendor/bundle/ruby/3.2.0/gems/multi_xml-0.6.0/lib/multi_xml/version.rb
harbr-0.1.71 vendor/bundle/ruby/3.2.0/gems/multi_xml-0.6.0/lib/multi_xml/version.rb
harbr-0.1.70 vendor/bundle/ruby/3.2.0/gems/multi_xml-0.6.0/lib/multi_xml/version.rb
harbr-0.1.69 vendor/bundle/ruby/3.2.0/gems/multi_xml-0.6.0/lib/multi_xml/version.rb
harbr-0.1.68 vendor/bundle/ruby/3.2.0/gems/multi_xml-0.6.0/lib/multi_xml/version.rb
harbr-0.1.67 vendor/bundle/ruby/3.2.0/gems/multi_xml-0.6.0/lib/multi_xml/version.rb
harbr-0.1.66 vendor/bundle/ruby/3.2.0/gems/multi_xml-0.6.0/lib/multi_xml/version.rb
harbr-0.1.65 vendor/bundle/ruby/3.2.0/gems/multi_xml-0.6.0/lib/multi_xml/version.rb
harbr-0.1.64 vendor/bundle/ruby/3.2.0/gems/multi_xml-0.6.0/lib/multi_xml/version.rb
harbr-0.1.63 vendor/bundle/ruby/3.2.0/gems/multi_xml-0.6.0/lib/multi_xml/version.rb
harbr-0.1.62 vendor/bundle/ruby/3.2.0/gems/multi_xml-0.6.0/lib/multi_xml/version.rb
harbr-0.1.61 vendor/bundle/ruby/3.2.0/gems/multi_xml-0.6.0/lib/multi_xml/version.rb
harbr-0.1.60 vendor/bundle/ruby/3.2.0/gems/multi_xml-0.6.0/lib/multi_xml/version.rb
harbr-0.1.59 vendor/bundle/ruby/3.2.0/gems/multi_xml-0.6.0/lib/multi_xml/version.rb