class Gargor::Individuals

Public Instance Methods

has?(i) click to toggle source
# File lib/gargor/individuals.rb, line 4
def has? i
  !!self.find { |ii| ii.params == i.params }
end
to_json() click to toggle source
# File lib/gargor/individuals.rb, line 7
def to_json
  collect { |i| i.to_hash }.to_json
end