Class: Quby::Compiler::Output
- Inherits:
-
Object
- Object
- Quby::Compiler::Output
- Defined in:
- lib/quby/compiler/output.rb
Instance Attribute Summary collapse
-
#content ⇒ Object
readonly
Returns the value of attribute content.
-
#filename ⇒ Object
readonly
Returns the value of attribute filename.
-
#key ⇒ Object
readonly
Returns the value of attribute key.
Instance Method Summary collapse
-
#initialize(key:, filename:, content:) ⇒ Output
constructor
A new instance of Output.
Constructor Details
#initialize(key:, filename:, content:) ⇒ Output
Returns a new instance of Output.
6 7 8 9 10 |
# File 'lib/quby/compiler/output.rb', line 6 def initialize(key:, filename:, content:) @key = key @filename = filename @content = content end |
Instance Attribute Details
#content ⇒ Object (readonly)
Returns the value of attribute content.
4 5 6 |
# File 'lib/quby/compiler/output.rb', line 4 def content @content end |
#filename ⇒ Object (readonly)
Returns the value of attribute filename.
4 5 6 |
# File 'lib/quby/compiler/output.rb', line 4 def filename @filename end |
#key ⇒ Object (readonly)
Returns the value of attribute key.
4 5 6 |
# File 'lib/quby/compiler/output.rb', line 4 def key @key end |