Module: Redmine::Info

Defined in:
lib/redmine/info.rb

Class Method Summary collapse

Class Method Details

.app_nameObject



4
# File 'lib/redmine/info.rb', line 4

def app_name; 'Redmine' end

.help_urlObject



6
# File 'lib/redmine/info.rb', line 6

def help_url; 'http://www.redmine.org/guide' end

.issue(issue_id) ⇒ Object

Creates the url string to a specific Redmine issue



10
11
12
# File 'lib/redmine/info.rb', line 10

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

.urlObject



5
# File 'lib/redmine/info.rb', line 5

def url; 'http://www.redmine.org/' end

.versioned_nameObject



7
# File 'lib/redmine/info.rb', line 7

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