lib/user_agent_parser/version.rb
# Private: Regex used to split string version string into major, minor,
# patch, and patch_minor.
Regex used to split string version string into major, minor,
patch, and patch_minor.
Regex used to split string version string into major minor patch and patch_minor .
def to_h
      {
        version: version,
        major: major,
        minor: minor,
        patch: patch,
        patch_minor: patch_minor
      }
    end
def to_h { version : version , major : major , minor : minor , patch : patch , patch_minor : patch_minor } end
Private: Regex used to split string version string into major, minor,
patch, and patch_minor.
Private : Regex used to split string version string into major minor patch and patch_minor .