lib/infoboxer/tree/nodes.rb in infoboxer-0.1.2.1 vs lib/infoboxer/tree/nodes.rb in infoboxer-0.2.0
- old
+ new
@@ -85,11 +85,11 @@
# Siblings (flat list) of all nodes inside.
# @!method fetch
# Fetches by name(s) variables for all templates inside.
#
- # See {Templates::Base#fetch} for explanation.
+ # See {Tree::Template#fetch} for explanation.
[
:prev_siblings, :next_siblings, :siblings,
:fetch
].each do |sym|
@@ -99,10 +99,10 @@
end
# By list of variable names, fetches hashes of `{name => value}`
# from all templates inside.
#
- # See {Templates::Base#fetch_hash} for explanation.
+ # See {Tree::Template#fetch_hash} for explanation.
#
# @return [Array<Hash>]
def fetch_hashes(*args)
map{|t| t.fetch_hash(*args)}
end