class TaskwarriorWeb::Command
Attributes
built[RW]
command[RW]
command_string[RW]
id[RW]
params[RW]
Public Class Methods
new(command, id = nil, *args)
click to toggle source
# File lib/taskwarrior-web/model/command.rb, line 7 def initialize(command, id = nil, *args) @command = command if command @id = id if id @params = args.last.is_a?(::Hash) ? args.pop : {} end