lib/kojac/concentric.rb in kojac-0.16.0 vs lib/kojac/concentric.rb in kojac-0.17.0
- old
+ new
@@ -102,10 +102,10 @@
fields = [fields] unless fields.is_a?(Array)
next if fields.empty?
abilities.each do |a|
a = a.to_sym
ring_rec ||= {}
- if fields==[:this]
+ if fields==[:this] || fields==[true]
ring_rec[a] = true unless ring_rec[a].to_nil
else
ring_fields = ring_rec[a]
ring_fields = [] unless ring_fields.is_a? Array
ring_fields = ring_fields + fields.map(&:to_sym)