Class: RDaux::Web::Site
- Inherits:
-
Object
- Object
- RDaux::Web::Site
- Defined in:
- lib/rdaux/web/site.rb,
lib/rdaux/web/site/generator.rb
Defined Under Namespace
Instance Attribute Summary collapse
-
#author ⇒ Object
readonly
Returns the value of attribute author.
-
#description ⇒ Object
readonly
Returns the value of attribute description.
-
#root ⇒ Object
readonly
Returns the value of attribute root.
-
#title ⇒ Object
readonly
Returns the value of attribute title.
Instance Method Summary collapse
-
#initialize(title, description, author, root) ⇒ Site
constructor
A new instance of Site.
- #sections ⇒ Object
Constructor Details
Instance Attribute Details
#author ⇒ Object (readonly)
Returns the value of attribute author.
4 5 6 |
# File 'lib/rdaux/web/site.rb', line 4 def @author end |
#description ⇒ Object (readonly)
Returns the value of attribute description.
4 5 6 |
# File 'lib/rdaux/web/site.rb', line 4 def description @description end |
#root ⇒ Object (readonly)
Returns the value of attribute root.
4 5 6 |
# File 'lib/rdaux/web/site.rb', line 4 def root @root end |
#title ⇒ Object (readonly)
Returns the value of attribute title.
4 5 6 |
# File 'lib/rdaux/web/site.rb', line 4 def title @title end |
Instance Method Details
#sections ⇒ Object
39 40 41 |
# File 'lib/rdaux/web/site.rb', line 39 def sections find_sections(@root) end |