Class: Steep::Server::TypeCheckWorker::GotoJob
- Defined in:
- lib/steep/server/type_check_worker.rb
Instance Attribute Summary collapse
-
#id ⇒ Object
Returns the value of attribute id.
-
#kind ⇒ Object
Returns the value of attribute kind.
-
#params ⇒ Object
Returns the value of attribute params.
Class Method Summary collapse
- .definition(id:, params:) ⇒ Object
- .implementation(id:, params:) ⇒ Object
- .type_definition(id:, params:) ⇒ Object
Instance Method Summary collapse
Instance Attribute Details
#id ⇒ Object
Returns the value of attribute id
16 17 18 |
# File 'lib/steep/server/type_check_worker.rb', line 16 def id @id end |
#kind ⇒ Object
Returns the value of attribute kind
16 17 18 |
# File 'lib/steep/server/type_check_worker.rb', line 16 def kind @kind end |
#params ⇒ Object
Returns the value of attribute params
16 17 18 |
# File 'lib/steep/server/type_check_worker.rb', line 16 def params @params end |
Class Method Details
.definition(id:, params:) ⇒ Object
25 26 27 28 29 30 31 |
# File 'lib/steep/server/type_check_worker.rb', line 25 def self.definition(id:, params:) new( kind: :definition, id: id, params: params ) end |
.implementation(id:, params:) ⇒ Object
17 18 19 20 21 22 23 |
# File 'lib/steep/server/type_check_worker.rb', line 17 def self.implementation(id:, params:) new( kind: :implementation, id: id, params: params ) end |
.type_definition(id:, params:) ⇒ Object
33 34 35 36 37 38 39 |
# File 'lib/steep/server/type_check_worker.rb', line 33 def self.type_definition(id:, params:) new( kind: :type_definition, id: id, params: params ) end |
Instance Method Details
#definition? ⇒ Boolean
45 46 47 |
# File 'lib/steep/server/type_check_worker.rb', line 45 def definition? kind == :definition end |
#implementation? ⇒ Boolean
41 42 43 |
# File 'lib/steep/server/type_check_worker.rb', line 41 def implementation? kind == :implementation end |
#type_definition? ⇒ Boolean
49 50 51 |
# File 'lib/steep/server/type_check_worker.rb', line 49 def type_definition? kind == :type_definition end |