Class: Segment

Inherits:
ActiveRecord::Base
  • Object
show all
Defined in:
app/models/segment.rb

Instance Method Summary collapse

Instance Method Details

#peopleObject



16
17
18
# File 'app/models/segment.rb', line 16

def people
  @people ||= search.people
end

#tag(tag) ⇒ Object



20
21
22
# File 'app/models/segment.rb', line 20

def tag(tag)
  self.search.tag(tag)
end