Method: XcodePages.project_number
- Defined in:
- lib/XcodePages.rb
.project_number ⇒ Object
Answers what Doxygen calls the ‘project number.’ This is the revision number appearing beside the project name in the documentation title. Uses the marketing and build version numbers in the format vMV (BV) where MV stands for marketing version and BV stands for build version. Omits the build version if the project matches marketing and build version. No sense repeating the same number if they are the same.
69 70 71 72 73 |
# File 'lib/XcodePages.rb', line 69 def self.project_number project_number = "v#{marketing_version}" project_number << " (#{build_version})" if build_version != marketing_version project_number end |