module Headdesk::Apk::ExtraMethods

Extra methods for 'value'

Public Instance Methods

to_version() click to toggle source
# File lib/headdesk/apk/field.rb, line 23
def to_version
  /^(\d+\.)?(\d+\.)?(\*|\d+)$/.match(self).captures.map(&:to_i)
end