Class: Spud::CLI::Results

Inherits:
Object
  • Object
show all
Extended by:
T::Sig
Defined in:
lib/spud/cli/results.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#taskObject

Returns the value of attribute task.



11
12
13
# File 'lib/spud/cli/results.rb', line 11

def task
  @task
end

Instance Method Details

#namedObject



20
21
22
23
# File 'lib/spud/cli/results.rb', line 20

def named
  @named = T.let(@named, T.nilable(T::Hash[String, String]))
  @named ||= {}
end

#optionsObject



26
27
28
29
# File 'lib/spud/cli/results.rb', line 26

def options
  @options = T.let(@options, T.nilable(Options))
  @options ||= Options.new
end

#orderedObject



14
15
16
17
# File 'lib/spud/cli/results.rb', line 14

def ordered
  @ordered = T.let(@ordered, T.nilable(T::Array[String]))
  @ordered ||= []
end