class Fontist::StyleVersion
Public Class Methods
Public Instance Methods
Source
# File lib/fontist/style_version.rb, line 27 def <=>(other) value <=> other.value end
Source
# File lib/fontist/style_version.rb, line 31 def ==(other) value == other.value end
Source
# File lib/fontist/style_version.rb, line 35 def eql?(other) value.eql?(other.value) end
Source
# File lib/fontist/style_version.rb, line 15 def numbers string_version&.split(".")&.map(&:strip) end
Source
# File lib/fontist/style_version.rb, line 19 def string_version @text&.split(";")&.first end
Source
# File lib/fontist/style_version.rb, line 11 def value @value ||= numbers || default_value end