Class: FreezeTag::Tag

Inherits:
ActiveRecord::Base
  • Object
show all
Defined in:
lib/freeze_tag/tag.rb

Instance Method Summary collapse

Instance Method Details

#expired?Boolean

Returns:

  • (Boolean)


9
10
11
# File 'lib/freeze_tag/tag.rb', line 9

def expired?
  expired_at > DateTime.now
end