module MultiXml::Version

Public Instance Methods

major() click to toggle source

@return [Integer]

# File lib/multi_xml/version.rb, line 6
def major
  0
end
minor() click to toggle source

@return [Integer]

# File lib/multi_xml/version.rb, line 11
def minor
  6
end
patch() click to toggle source

@return [Integer]

# File lib/multi_xml/version.rb, line 16
def patch
  0
end
pre() click to toggle source

@return [Integer, NilClass]

# File lib/multi_xml/version.rb, line 21
def pre
  nil
end
to_a() click to toggle source

@return [Array]

# File lib/multi_xml/version.rb, line 36
def to_a
  [major, minor, patch, pre].compact
end
to_h() click to toggle source

@return [Hash]

# File lib/multi_xml/version.rb, line 26
def to_h
  {
    :major => major,
    :minor => minor,
    :patch => patch,
    :pre => pre,
  }
end
to_s() click to toggle source

@return [String]

# File lib/multi_xml/version.rb, line 41
def to_s
  to_a.join('.')
end