Class: URITemplate::RFC6570::Expression::Path

Inherits:
Unnamed show all
Defined in:
lib/uri_template/rfc6570/expression.rb

Constant Summary collapse

SEPARATOR =
'/'.freeze
PREFIX =
'/'.freeze
OPERATOR =
'/'.freeze
BASE_LEVEL =
3
FOLLOW_UP =
self
BULK_FOLLOW_UP =
self

Constants inherited from URITemplate::RFC6570::Expression

CHARACTER_CLASS, LIST_CONNECTOR, PAIR_CONNECTOR, PAIR_IF_EMPTY

Constants included from Token

Token::EMPTY_ARRAY

Instance Attribute Summary

Attributes inherited from URITemplate::RFC6570::Expression

#variables

Attributes included from Expression

#variables

Instance Method Summary collapse

Methods inherited from Unnamed

#self_pair, #to_r_source

Methods inherited from URITemplate::RFC6570::Expression

#arity, #expand, #expand_partial, #extract, #initialize, #level, #to_s

Methods included from ClassMethods

#generate_hash_extractor, #hash_extractor, #hash_extractors, #regex_builder

Methods included from Expression

#expression?, #literal?

Methods included from Token

#ends_with_slash?, #expand, #expand_partial, #host?, #scheme?, #size, #to_s, #variables

Constructor Details

This class inherits a constructor from URITemplate::RFC6570::Expression

Instance Method Details

#starts_with_slash?Boolean

Returns:

  • (Boolean)


361
362
363
# File 'lib/uri_template/rfc6570/expression.rb', line 361

def starts_with_slash?
  true
end