Class: KDL::Types::URLTemplate::StringLiteral
- Defined in:
- lib/kdl/types/url_template.rb
Instance Method Summary collapse
- #expand ⇒ Object
-
#initialize(value) ⇒ StringLiteral
constructor
A new instance of StringLiteral.
Methods inherited from Part
allow_reserved?, #expand_variables, keep_empties?, #prefix, #separator, with_name?
Constructor Details
#initialize(value) ⇒ StringLiteral
Returns a new instance of StringLiteral.
230 231 232 233 |
# File 'lib/kdl/types/url_template.rb', line 230 def initialize(value) super() @value = value end |
Instance Method Details
#expand ⇒ Object
235 236 237 |
# File 'lib/kdl/types/url_template.rb', line 235 def (*) @value end |