Class: String
- Inherits:
-
Object
- Object
- String
- Defined in:
- lib/defmastership/comment_filter.rb
Overview
adding a method to string to figure out if a string is commented or not.
Instance Method Summary collapse
Instance Method Details
#commented? ⇒ Boolean
40 41 42 |
# File 'lib/defmastership/comment_filter.rb', line 40 def commented? !DefMastership.comment_filter.accept?(self) end |