Class: PathItemRoot

Inherits:
Object
  • Object
show all
Defined in:
lib/tiki/spec.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(paths) ⇒ PathItemRoot



124
125
126
# File 'lib/tiki/spec.rb', line 124

def initialize(paths)
  @paths = paths
end

Instance Attribute Details

#pathsObject (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

#parametersObject



132
133
134
# File 'lib/tiki/spec.rb', line 132

def parameters
  []
end