Class: Makit::V1::Command

Inherits:
Object
  • Object
show all
Defined in:
lib/makit/mp/command_mp.rb

Instance Method Summary collapse

Instance Method Details

#to_markdownObject



6
7
8
9
10
# File 'lib/makit/mp/command_mp.rb', line 6

def to_markdown
  md = "## #{name} #{arguments.join(" ")}\n\n"
  md += "```\n#{output}\n```\n"
  md
end