Method: MarkdownRecord::ContentDsl::UseLayout#use_layout_dsl
- Defined in:
- lib/markdown_record/rendering/content_dsl/use_layout.rb
#use_layout_dsl(text) ⇒ Object
7 8 9 10 11 12 13 14 15 |
# File 'lib/markdown_record/rendering/content_dsl/use_layout.rb', line 7 def use_layout_dsl(text) match = text.match(REGEX) if match match[1].strip else nil end end |