Module: ChiliProject::Info

Defined in:
lib/chili_project/info.rb

Class Method Summary collapse

Class Method Details

.app_nameObject


18
# File 'lib/chili_project/info.rb', line 18

def app_name; 'ChiliProject' end

.help_urlObject


20
21
22
# File 'lib/chili_project/info.rb', line 20

def help_url
  "https://www.chiliproject.org/help/v#{ChiliProject::VERSION::MAJOR.to_s}"
end

.issue(issue_id) ⇒ Object

Creates the url string to a specific Redmine issue


26
27
28
# File 'lib/chili_project/info.rb', line 26

def issue(issue_id)
  url + 'issues/' + issue_id.to_s
end

.urlObject


19
# File 'lib/chili_project/info.rb', line 19

def url; 'https://www.chiliproject.org/' end

.versioned_nameObject


23
# File 'lib/chili_project/info.rb', line 23

def versioned_name; "#{app_name} #{Redmine::VERSION}" end