Sha256: 2f2d97865910e1a5a5fbc0e108bb9792c3979bcd1677f48437f64d51ae038531

Contents?: true

Size: 253 Bytes

Versions: 1

Compression:

Stored size: 253 Bytes

Contents

# This query resolves to the subject's room, as opposed to the parent. It's
# useful for making sure you target the room instead of a container or a
# supporter.
class Query::Room < Query::Parent
  def context_from(subject)
    [subject.room]
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
gamefic-0.2.0 lib/gamefic/import/basics/queries/room.rb