Module: Sampcomments
- Defined in:
- lib/sampcomments.rb,
lib/sampcomments/version.rb
Constant Summary collapse
- VERSION =
"0.0.5"
Class Method Summary collapse
Class Method Details
.validateComments(str) ⇒ Object
5 6 7 8 9 10 11 12 |
# File 'lib/sampcomments.rb', line 5 def self.validateComments(str) if (/^\w*$/.match(str)) return true else return false end end |