class Gamefic::Scope::Parent
A query scope that can only match the entity’s parent.
Public Instance Methods
matches()
click to toggle source
# File lib/gamefic/scope/parent.rb, line 8 def matches [context.parent].compact end