Class: WikiAvro::MediaWiki::SiteInfo
- Inherits:
-
XML::Element
- Object
- XML::Element
- WikiAvro::MediaWiki::SiteInfo
- Defined in:
- lib/wikiavro/mediawiki.rb
Instance Attribute Summary collapse
-
#base ⇒ Object
Returns the value of attribute base.
-
#case ⇒ Object
Returns the value of attribute case.
-
#generator ⇒ Object
Returns the value of attribute generator.
-
#sitename ⇒ Object
Returns the value of attribute sitename.
Attributes inherited from XML::Element
Instance Method Summary collapse
-
#initialize ⇒ SiteInfo
constructor
A new instance of SiteInfo.
- #name ⇒ Object
- #reset ⇒ Object
Methods inherited from XML::Element
Constructor Details
Instance Attribute Details
#base ⇒ Object
Returns the value of attribute base.
276 277 278 |
# File 'lib/wikiavro/mediawiki.rb', line 276 def base @base end |
#case ⇒ Object
Returns the value of attribute case.
278 279 280 |
# File 'lib/wikiavro/mediawiki.rb', line 278 def case @case end |
#generator ⇒ Object
Returns the value of attribute generator.
277 278 279 |
# File 'lib/wikiavro/mediawiki.rb', line 277 def generator @generator end |
#sitename ⇒ Object
Returns the value of attribute sitename.
275 276 277 |
# File 'lib/wikiavro/mediawiki.rb', line 275 def sitename @sitename end |
Instance Method Details
#name ⇒ Object
280 281 282 |
# File 'lib/wikiavro/mediawiki.rb', line 280 def name 'siteinfo' end |
#reset ⇒ Object
284 285 286 287 288 289 |
# File 'lib/wikiavro/mediawiki.rb', line 284 def reset @sitename = nil @base = nil @generator = nil @case = nil end |