class Gamefic::Query::Descendants
Public Instance Methods
context_from(subject)
click to toggle source
Calls superclass method
Gamefic::Query::Children#context_from
# File lib/gamefic/query/descendants.rb, line 4 def context_from(subject) result = [] children = super result.concat children children.each do |c| result.concat subquery_accessible(c) end result end