Class: Markdo::TagCommand
- Defined in:
- lib/markdo/commands/tag_command.rb
Instance Method Summary collapse
Methods inherited from Command
Constructor Details
This class inherits a constructor from Markdo::Command
Instance Method Details
#run(string) ⇒ Object
5 6 7 8 9 |
# File 'lib/markdo/commands/tag_command.rb', line 5 def run(string) task_collection.with_tag(string).each do |task| @stdout.puts(task.line) end end |