Class: Gamefic::Scope::Myself

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

Overview

The Myself scope returns the entity itself.

Instance Attribute Summary

Attributes inherited from Base

#context

Instance Method Summary collapse

Methods inherited from Base

#initialize, matches, precision

Constructor Details

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

Instance Method Details

#matchesObject



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

def matches
  [context]
end