module GollumRails::Setup::Options::ClassMethods

Attributes

options[RW]
repository[RW]
startup[RW]
wiki_options[W]
wiki_path[RW]

Public Instance Methods

wiki_options() click to toggle source

Reads out the wiki options. Important is, that there needs to be some kind of hash to be present.

# File lib/gollum_rails/setup/options.rb, line 11
def wiki_options
  @wiki_options ||= {}
  return @wiki_options if @wiki_options.kind_of? Hash
  raise InitializationError, "Options must be a kind of Hash. Found: #{@wiki_options.class}"
end