Module: Wiki

Defined in:
app/models/wiki/wiki.rb,
lib/rails-wiki.rb,
lib/wiki/engine.rb,
lib/wiki/version.rb,
app/models/wiki/page.rb,
app/models/wiki/attachment.rb,
app/helpers/wiki/wiki_helper.rb,
app/helpers/wiki/application_helper.rb,
app/controllers/wiki/application_controller.rb

Overview

require ‘active_model’

Defined Under Namespace

Modules: ApplicationHelper, WikiHelper Classes: ApplicationController, Attachment, Engine, Page, PagesController, Wiki

Constant Summary collapse

VERSION =
"0.1.0"

Class Method Summary collapse

Class Method Details

.setup {|_self| ... } ⇒ Object

end

Yields:

  • (_self)

Yield Parameters:

  • _self (Wiki)

    the object that the method was called on



14
15
16
# File 'lib/rails-wiki.rb', line 14

def self.setup
  yield self
end