def safe_navigation?: () -> bool
def safe_navigation?: () -> bool
def repeated_parameter?: () -> bool
def repeated_parameter?: () -> bool
def repeated_parameter?: () -> bool
def repeated_parameter?: () -> bool
def repeated_parameter?: () -> bool
def repeated_parameter?: () -> bool
Return the character offset for the given byte offset.
Return the character offset for the given byte offset.
Reflects lines to be rendered and new cursor position to the screen by calculating the difference from the previous render.
A recommended version for use with a ~> Requirement.
Keeps track of all currently known specifications
Issues a warning for each file to be packaged which is world-readable.
Implementation for Specification#validate_permissions
Smushes logically “consecutive” lines
source = <<~'EOM' User. where(name: 'schneems'). first EOM lines = CleanDocument.new(source: source).join_consecutive!.lines expect(lines[0].to_s).to eq(source) expect(lines[1].to_s).to eq("")
The one known case this doesn’t handle is:
Ripper.lex <<~EOM a && b || c EOM
For some reason this introduces ‘on_ignore_newline` but with BEG type
do nothing
do nothing
Protected setter for the user
component, and password
if available (with validation).
See also URI::Generic.userinfo=
.