Class: Ryac::Pipeline::RenameResult
- Inherits:
-
Data
- Object
- Data
- Ryac::Pipeline::RenameResult
- Defined in:
- lib/ryac/pipeline/data_types.rb,
sig/ryac/pipeline/data_types.rbs
Overview
Internal return type of the rename stages: the parts of the program, not yet assembled. code deliberately carries no requires and no preamble — the Minifier joins the parts into MinifiedResult#content, which is why the field is not called content.
Instance Attribute Summary collapse
-
#aliases ⇒ Object
readonly
Returns the value of attribute aliases.
-
#code ⇒ Object
readonly
Returns the value of attribute code.
-
#preamble ⇒ Object
readonly
Returns the value of attribute preamble.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(code:, aliases: '', preamble: '') ⇒ RenameResult
constructor
steep:ignore UndeclaredMethodDefinition.
Constructor Details
#initialize(code:, aliases: '', preamble: '') ⇒ RenameResult
steep:ignore UndeclaredMethodDefinition
157 158 159 |
# File 'lib/ryac/pipeline/data_types.rb', line 157 def initialize(code:, aliases: '', preamble: '') # steep:ignore UndeclaredMethodDefinition super end |
Instance Attribute Details
#aliases ⇒ Object (readonly)
Returns the value of attribute aliases
152 153 154 |
# File 'lib/ryac/pipeline/data_types.rb', line 152 def aliases @aliases end |
#code ⇒ Object (readonly)
Returns the value of attribute code
152 153 154 |
# File 'lib/ryac/pipeline/data_types.rb', line 152 def code @code end |
#preamble ⇒ Object (readonly)
Returns the value of attribute preamble
152 153 154 |
# File 'lib/ryac/pipeline/data_types.rb', line 152 def preamble @preamble end |
Class Method Details
.new ⇒ RenameResult
139 |
# File 'sig/ryac/pipeline/data_types.rbs', line 139
def self.new: (code: String, ?aliases: String, ?preamble: String) -> RenameResult
|