class Gamefic::Query::Itself

Public Instance Methods

context_from(subject) click to toggle source
# File lib/gamefic/query/itself.rb, line 4
def context_from(subject)
  [subject]
end
include?(subject, object) click to toggle source
# File lib/gamefic/query/itself.rb, line 8
def include?(subject, object)
  return false unless accept?(object) and subject == object
end