Transform
Extends:
src/screenplay/Question.js~Question → Transform
this class is experimental.
Static Method Summary
Static Public Methods | ||
public static |
|
Constructor Summary
Public Constructor | ||
public |
|
Member Summary
Public Members | ||
public |
subject: * |
Method Summary
Public Methods | ||
public |
answeredBy(actor: AnswersQuestions & UsesAbilities): Promise |
|
public |
this method was deprecated. Please use {@link Transform#describedAs} instead
Overrides the default Transform#toString representation of this object. |
|
public |
describedAs(subject: string): UNKNOWN Changes the description of this question's subject. |
Static Public Methods
Public Constructors
public constructor() source
Public Members
public subject: * source
Public Methods
public answeredBy(actor: AnswersQuestions & UsesAbilities): Promise source
Params:
Name | Type | Attribute | Description |
actor | AnswersQuestions & UsesAbilities |
Returns:
Promise |
public as(description: string): Transform<Answer_Type, Output_Type> source
this method was deprecated. Please use {@link Transform#describedAs} instead
Overrides the default Transform#toString representation of this object.
Params:
Name | Type | Attribute | Description |
description | string |
public describedAs(subject: string): UNKNOWN source
Changes the description of this question's subject.
Params:
Name | Type | Attribute | Description |
subject | string |
Returns:
UNKNOWN |