class Gamefic::Query::Global
Query
all the entities in the subject’s epic.
If the subject is not an actor, this query will always return an empty result.
Public Instance Methods
Source
# File lib/gamefic/query/global.rb, line 17 def precision @precision ||= super - 2000 end
Calls superclass method
Gamefic::Query::Base#precision
Source
# File lib/gamefic/query/global.rb, line 11 def span(subject) return [] unless subject.is_a?(Active) subject.narratives.entities end