Class: Markdo::Command
- Inherits:
-
Object
- Object
- Markdo::Command
- Defined in:
- lib/markdo/commands/command.rb
Direct Known Subclasses
AddCommand, EditCommand, ForecastCommand, HelpCommand, IcsCommand, InboxCommand, OverdueCommand, OverviewCommand, ProcessCommand, QueryCommand, StarCommand, SummaryCommand, TagCommand, TodayCommand, TomorrowCommand, VersionCommand, WeekCommand
Instance Method Summary collapse
-
#initialize(command_support) ⇒ Command
constructor
A new instance of Command.
- #run ⇒ Object
Constructor Details
#initialize(command_support) ⇒ Command
Returns a new instance of Command.
7 8 9 10 11 12 13 14 |
# File 'lib/markdo/commands/command.rb', line 7 def initialize(command_support) @command_support = command_support @stdin = command_support.stdin @stdout = command_support.stdout @stderr = command_support.stderr @env = command_support.env @today = command_support.today end |
Instance Method Details
#run ⇒ Object
16 17 |
# File 'lib/markdo/commands/command.rb', line 16 def run end |