Class: Gamefic::Query::Abstract

Inherits:
General show all
Defined in:
lib/gamefic/query/abstract.rb

Instance Attribute Summary

Attributes inherited from Base

#ambiguous, #arguments, #narrative

Instance Method Summary collapse

Methods inherited from General

#initialize

Methods inherited from Base

#accept?, #ambiguous?, #initialize, #inspect, #name, #precision, #query, #select

Constructor Details

This class inherits a constructor from Gamefic::Query::General

Instance Method Details

#span(subject) ⇒ Object



6
7
8
9
# File 'lib/gamefic/query/abstract.rb', line 6

def span subject
  available_entities(subject).that_are(Describable)
                             .that_are_not(Entity)
end