Class: RedmineWikiExporter::WikiURL
- Inherits:
-
Object
- Object
- RedmineWikiExporter::WikiURL
- Defined in:
- lib/redmine_wiki_exporter.rb
Instance Method Summary collapse
-
#initialize(url) ⇒ WikiURL
constructor
A new instance of WikiURL.
- #url ⇒ Object
- #wikiname ⇒ Object
Constructor Details
#initialize(url) ⇒ WikiURL
Returns a new instance of WikiURL.
23 24 25 |
# File 'lib/redmine_wiki_exporter.rb', line 23 def initialize(url) @url = url end |
Instance Method Details
#url ⇒ Object
19 20 21 |
# File 'lib/redmine_wiki_exporter.rb', line 19 def url @url end |
#wikiname ⇒ Object
27 28 29 |
# File 'lib/redmine_wiki_exporter.rb', line 27 def wikiname url.to_s.split('/').last end |