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/open_project/my_project_page/version.rb

28 lines
313 B

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