Class: Lazylead::Task::Free

Inherits:
Object
  • Object
show all
Defined in:
lib/lazylead/task/loading.rb

Overview

The teammate without tasks.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(id, name) ⇒ Free

Returns a new instance of Free.



80
81
82
83
# File 'lib/lazylead/task/loading.rb', line 80

def initialize(id, name)
  @id = id
  @name = name
end

Instance Attribute Details

#idObject (readonly)

Returns the value of attribute id.



78
79
80
# File 'lib/lazylead/task/loading.rb', line 78

def id
  @id
end

#nameObject (readonly)

Returns the value of attribute name.



78
79
80
# File 'lib/lazylead/task/loading.rb', line 78

def name
  @name
end

Instance Method Details

#free?Boolean

Returns:

  • (Boolean)


85
86
87
# File 'lib/lazylead/task/loading.rb', line 85

def free?
  true
end

#nextObject



89
90
91
# File 'lib/lazylead/task/loading.rb', line 89

def next
  ""
end