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.



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

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

Instance Attribute Details

#idObject (readonly)

Returns the value of attribute id.



83
84
85
# File 'lib/lazylead/task/loading.rb', line 83

def id
  @id
end

#nameObject (readonly)

Returns the value of attribute name.



83
84
85
# File 'lib/lazylead/task/loading.rb', line 83

def name
  @name
end

Instance Method Details

#free?Boolean

Returns:

  • (Boolean)


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

def free?
  true
end

#nextObject



94
95
96
# File 'lib/lazylead/task/loading.rb', line 94

def next
  ""
end