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.



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

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

Instance Attribute Details

#idObject (readonly)

Returns the value of attribute id.



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

def id
  @id
end

#nameObject (readonly)

Returns the value of attribute name.



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

def name
  @name
end

Instance Method Details

#free?Boolean

Returns:

  • (Boolean)


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

def free?
  true
end

#nextObject



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

def next
  ""
end