Creates a new URI::FTP
object from generic URL components with no syntax checking.
Unlike build(), this method does not escape the path component as required by RFC1738; instead it is treated as per RFC2396.
Arguments are scheme
, userinfo
, host
, port
, registry
, path
, opaque
, query
, and fragment
, in that order.
Just initializes all instance variables.
Create a PrettyPrint::SingleLine
object
Arguments:
output
- String
(or similar) to store rendered text. Needs to respond to ‘<<’
maxwidth
- Argument position expected to be here for compatibility.
This argument is a noop.
newline
- Argument position expected to be here for compatibility.
This argument is a noop.
Initialize a new dispatcher.
def initialize: (left: Node
, right: Node
, operator_loc
: Location
, location: Location
) -> void
def initialize: (left: Node
, right: Node
, operator_loc
: Location
, location: Location
) -> void
def initialize: (flags: Integer
, elements: Array, opening_loc
: Location
?, closing_loc
: Location
?, location: Location
) -> void
def initialize: (constant: Node
?, requireds: Array, rest: Node
?, posts: Array, opening_loc
: Location
?, closing_loc
: Location
?, location: Location
) -> void
def initialize: (key: Node
, value: Node
?, operator_loc
: Location
?, location: Location
) -> void
def initialize: (value: Node
?, operator_loc
: Location
, location: Location
) -> void
def initialize: (begin_keyword_loc
: Location
?, statements: StatementsNode
?, rescue_clause
: RescueNode
?, else_clause
: ElseNode
?, ensure_clause
: EnsureNode
?, end_keyword_loc
: Location
?, location: Location
) -> void
def initialize: (expression: Node
?, operator_loc
: Location
, location: Location
) -> void
def initialize: (locals: Array, locals_body_index
: Integer
, parameters: Node
?, body: Node
?, opening_loc
: Location
, closing_loc
: Location
, location: Location
) -> void
def initialize: (name: Symbol
?, name_loc
: Location
?, operator_loc
: Location
, location: Location
) -> void