Method: RiCal::Properties::Journal#remove_comments
- Defined in:
- lib/ri_cal/properties/journal.rb
#remove_comments(*ruby_values) ⇒ Object
remove one or more values from the COMMENT property one or more instances of String may be passed to this method
671 672 673 |
# File 'lib/ri_cal/properties/journal.rb', line 671 def remove_comments(*ruby_values) ruby_values.each {|val| self.comment_property.delete(RiCal::PropertyValue::Text.convert(self, val))} end |