Class: ConfCtl::NixLiteralExpression
- Inherits:
-
Object
- Object
- ConfCtl::NixLiteralExpression
- Defined in:
- lib/confctl/nix_literal_expression.rb
Instance Method Summary collapse
-
#initialize(value) ⇒ NixLiteralExpression
constructor
A new instance of NixLiteralExpression.
- #to_nix ⇒ Object
- #to_s ⇒ Object
Constructor Details
#initialize(value) ⇒ NixLiteralExpression
Returns a new instance of NixLiteralExpression.
3 4 5 |
# File 'lib/confctl/nix_literal_expression.rb', line 3 def initialize(value) @value = value end |
Instance Method Details
#to_nix ⇒ Object
11 12 13 |
# File 'lib/confctl/nix_literal_expression.rb', line 11 def to_nix(**) @value end |
#to_s ⇒ Object
7 8 9 |
# File 'lib/confctl/nix_literal_expression.rb', line 7 def to_s @value end |