Class: Array
- Inherits:
-
Object
- Object
- Array
- Defined in:
- lib/maruku/element.rb
Direct Known Subclasses
MaRuKu::AttributeList, MaRuKu::In::Markdown::BlockLevelParser::BlockContext
Instance Method Summary collapse
Instance Method Details
#replace_each_string(&block) ⇒ Object
131 132 133 134 135 136 137 |
# File 'lib/maruku/element.rb', line 131 def replace_each_string(&block) self.map! do |c| next yield c if c.is_a?(String) c.replace_each_string(&block) c end end |