OpenProject is the leading open source project management software.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
openproject/lib/my_project_page/version.rb

26 lines
251 B

module MyProjectPage
module Version
def to_s
[major, minor, patch].join('.')
end
def full
to_s
end
def major
2
end
def minor
1
end
def patch
1
end
extend self
end
end