Class: GollumRails::Adapters::Gollum::Connector
- Inherits:
-
Object
- Object
- GollumRails::Adapters::Gollum::Connector
- Defined in:
- lib/gollum_rails/adapters/gollum.rb
Overview
Gollum connector class, keeping defaults!
Class Attribute Summary collapse
-
.page_class ⇒ Object
Gets the Globally used Page class or use a new one if not defined.
-
.wiki_options ⇒ Object
Gets the wiki options.
-
.wiki_path ⇒ Object
Gets the Globally used Page class or use a new one if not defined.
Class Attribute Details
.page_class ⇒ Object
Gets the Globally used Page class or use a new one if not defined
Returns the internal page class or a fresh ::Gollum::Page
32 33 34 |
# File 'lib/gollum_rails/adapters/gollum.rb', line 32 def page_class @page_class || Page end |
.wiki_options ⇒ Object
Gets the wiki options
37 38 39 |
# File 'lib/gollum_rails/adapters/gollum.rb', line 37 def @wiki_options || {} end |
.wiki_path ⇒ Object
Gets the Globally used Page class or use a new one if not defined
Returns the internal page class or a fresh ::Gollum::Page
45 46 47 |
# File 'lib/gollum_rails/adapters/gollum.rb', line 45 def wiki_path @wiki_path || "" end |