Class: Gamefic::Query::Myself

Inherits:
Base
  • Object
show all
Defined in:
lib/gamefic/query/myself.rb

Overview

Query the subject itself.

Instance Attribute Summary

Attributes inherited from Base

#arguments

Instance Method Summary collapse

Methods inherited from Base

#accept?, #bind, #filter, #initialize, #inspect, #name, plain, #precision, #select, span

Constructor Details

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

Instance Method Details

#span(subject) ⇒ Object



8
9
10
# File 'lib/gamefic/query/myself.rb', line 8

def span(subject)
  [subject]
end