Class: PathItemRoot
- Inherits:
-
Object
- Object
- PathItemRoot
- Defined in:
- lib/tiki/spec.rb
Instance Attribute Summary collapse
-
#paths ⇒ Object
readonly
Returns the value of attribute paths.
Instance Method Summary collapse
- #child(url) ⇒ Object
-
#initialize(paths) ⇒ PathItemRoot
constructor
A new instance of PathItemRoot.
- #parameters ⇒ Object
Constructor Details
#initialize(paths) ⇒ PathItemRoot
124 125 126 |
# File 'lib/tiki/spec.rb', line 124 def initialize(paths) @paths = paths end |
Instance Attribute Details
#paths ⇒ Object (readonly)
Returns the value of attribute paths.
122 123 124 |
# File 'lib/tiki/spec.rb', line 122 def paths @paths end |
Instance Method Details
#child(url) ⇒ Object
128 129 130 |
# File 'lib/tiki/spec.rb', line 128 def child(url) PathItemParent.new url, self, [] end |
#parameters ⇒ Object
132 133 134 |
# File 'lib/tiki/spec.rb', line 132 def parameters [] end |