Module: Partyhat::Forums
- Defined in:
- lib/partyhat/forums.rb,
lib/partyhat/forums/forum_post.rb,
lib/partyhat/forums/forum_thread.rb
Defined Under Namespace
Classes: ForumPost, ForumThread
Constant Summary collapse
- QUICK_FIND_CODE_FORMAT =
/^\d+-\d+-\d+-\d+$/
Class Method Summary collapse
Class Method Details
.valid_qfc?(qfc) ⇒ Boolean
5 6 7 8 |
# File 'lib/partyhat/forums.rb', line 5 def self.valid_qfc? qfc return false if qfc.match(QUICK_FIND_CODE_FORMAT).nil? true end |