Class: Wiki2Go::PageContext
- Inherits:
-
Object
- Object
- Wiki2Go::PageContext
- Defined in:
- lib/Wiki2Go/WikiFormatter.rb
Instance Attribute Summary collapse
-
#config ⇒ Object
readonly
Returns the value of attribute config.
-
#format ⇒ Object
readonly
Returns the value of attribute format.
-
#page ⇒ Object
readonly
Returns the value of attribute page.
-
#pages ⇒ Object
readonly
Returns the value of attribute pages.
-
#searchtopic ⇒ Object
readonly
Returns the value of attribute searchtopic.
-
#text ⇒ Object
readonly
Returns the value of attribute text.
-
#title ⇒ Object
Returns the value of attribute title.
-
#web ⇒ Object
readonly
Returns the value of attribute web.
Instance Method Summary collapse
-
#initialize(config, formatter, text, page, web, pages, searchtopic, title) ⇒ PageContext
constructor
A new instance of PageContext.
Constructor Details
#initialize(config, formatter, text, page, web, pages, searchtopic, title) ⇒ PageContext
Returns a new instance of PageContext.
21 22 23 24 25 26 27 28 29 30 |
# File 'lib/Wiki2Go/WikiFormatter.rb', line 21 def initialize(config,formatter,text,page,web,pages,searchtopic,title) @config = config @format = formatter @web = web @page = page @text = text @pages = pages @searchtopic = searchtopic @title = title end |
Instance Attribute Details
#config ⇒ Object (readonly)
Returns the value of attribute config.
18 19 20 |
# File 'lib/Wiki2Go/WikiFormatter.rb', line 18 def config @config end |
#format ⇒ Object (readonly)
Returns the value of attribute format.
12 13 14 |
# File 'lib/Wiki2Go/WikiFormatter.rb', line 12 def format @format end |
#page ⇒ Object (readonly)
Returns the value of attribute page.
14 15 16 |
# File 'lib/Wiki2Go/WikiFormatter.rb', line 14 def page @page end |
#pages ⇒ Object (readonly)
Returns the value of attribute pages.
16 17 18 |
# File 'lib/Wiki2Go/WikiFormatter.rb', line 16 def pages @pages end |
#searchtopic ⇒ Object (readonly)
Returns the value of attribute searchtopic.
17 18 19 |
# File 'lib/Wiki2Go/WikiFormatter.rb', line 17 def searchtopic @searchtopic end |
#text ⇒ Object (readonly)
Returns the value of attribute text.
15 16 17 |
# File 'lib/Wiki2Go/WikiFormatter.rb', line 15 def text @text end |
#title ⇒ Object
Returns the value of attribute title.
19 20 21 |
# File 'lib/Wiki2Go/WikiFormatter.rb', line 19 def title @title end |
#web ⇒ Object (readonly)
Returns the value of attribute web.
13 14 15 |
# File 'lib/Wiki2Go/WikiFormatter.rb', line 13 def web @web end |