Method: QB::Package::Version#build_commit

Defined in:
lib/qb/package/version.rb

#build_commitreturn_type

TODO:

Document commit method.

Returns @todo Document return value.

Parameters:

  • arg_name (type)

    @todo Add name param description.

Returns:

  • (return_type)

    @todo Document return value.



384
385
386
387
388
# File 'lib/qb/package/version.rb', line 384

def build_commit
  if build?
    build.find { |seg| seg =~ /[0-9a-f]{7}/ }
  end
end