Class: IndexPage
- Inherits:
-
Object
- Object
- IndexPage
- Defined in:
- lib/zarchitect/index.rb
Instance Attribute Summary collapse
-
#path ⇒ Object
readonly
Returns the value of attribute path.
-
#url ⇒ Object
readonly
Returns the value of attribute url.
Instance Method Summary collapse
-
#initialize(path, url) ⇒ IndexPage
constructor
A new instance of IndexPage.
Constructor Details
#initialize(path, url) ⇒ IndexPage
Returns a new instance of IndexPage.
302 303 304 305 |
# File 'lib/zarchitect/index.rb', line 302 def initialize(path, url) @url = url @path = path end |
Instance Attribute Details
#path ⇒ Object (readonly)
Returns the value of attribute path.
300 301 302 |
# File 'lib/zarchitect/index.rb', line 300 def path @path end |
#url ⇒ Object (readonly)
Returns the value of attribute url.
300 301 302 |
# File 'lib/zarchitect/index.rb', line 300 def url @url end |