Returns the full path for an HTTP
request, as required by Net::HTTP::Get
.
If the URI
contains a query, the full path is URI#path + ‘?’ + URI#query. Otherwise, the path is simply URI#path.
Example:
uri = URI::HTTP.build(path: '/foo/bar', query: 'test=true') uri.request_uri # => "/foo/bar?test=true"
Represents the location of the ‘&&=` operator.
@@target &&= value ^^^
Returns the location of the binary operator used to modify the receiver. This method is deprecated in favor of binary_operator_loc
.
attr_reader operator_loc
: Location
attr_reader operator_loc
: Location
Returns the location of the binary operator used to modify the receiver. This method is deprecated in favor of binary_operator_loc
.
Returns the location of the binary operator used to modify the receiver. This method is deprecated in favor of binary_operator_loc
.
Returns the location of the binary operator used to modify the receiver. This method is deprecated in favor of binary_operator_loc
.
Returns the location of the binary operator used to modify the receiver. This method is deprecated in favor of binary_operator_loc
.
Represents the alternation operator location.
foo => bar | baz ^
The location of the ‘and` keyword or the `&&` operator.
left and right ^^^
def ignore_visibility?: () -> bool
def call_operator
: () -> String
?