Module: URITemplate::Expression
- Includes:
- Token
- Included in:
- Colon::Token::Variable, RFC6570::Expression
- Defined in:
- lib/uri_template/expression.rb
Overview
A module which all non-literal tokens should include.
Constant Summary
Constants included from Token
Instance Attribute Summary collapse
-
#variables ⇒ Object
readonly
Returns the value of attribute variables.
Instance Method Summary collapse
Methods included from Token
#ends_with_slash?, #expand, #expand_partial, #host?, #scheme?, #size, #starts_with_slash?, #to_s
Instance Attribute Details
#variables ⇒ Object (readonly)
Returns the value of attribute variables.
29 30 31 |
# File 'lib/uri_template/expression.rb', line 29 def variables @variables end |
Instance Method Details
#expression? ⇒ Boolean
35 36 37 |
# File 'lib/uri_template/expression.rb', line 35 def expression? true end |
#literal? ⇒ Boolean
31 32 33 |
# File 'lib/uri_template/expression.rb', line 31 def literal? false end |