module Ahoy::Views::Viewable::InstanceMethods
Public Instance Methods
trending?(limit)
click to toggle source
# File lib/ahoy/views/viewable.rb, line 22 def trending? limit self.class.trending.limit(limit).include? self end