class ReadmeYard::ObjectTag
@readme
```@readme object``` - Embeds the comment and source.
Public Class Methods
format_tag_markdown(yard_object, _tag)
click to toggle source
This method's comment and code is in the README because because `@readme object` is below, in the actual source code.
@readme object
# File lib/readme_yard/object_tag.rb, line 14 def format_tag_markdown(yard_object, _tag) text = CommentTag.format_docstring_as_comment(yard_object) text << "\n#{yard_object.source}" ExampleTag.format_ruby(text) end