def forced_binary_encoding?: () -> bool
def forced_binary_encoding?: () -> bool
def forced_binary_encoding?: () -> bool
Creates the symlinks to run the applications in the gem. Moves the symlink if the gem being installed has a newer version.
Return currently unresolved specs that contain the file matching path
.
Make sure the YAML
specification is properly formatted with dashes
Shows the context around code provided by “falling” indentation
Converts:
it "foo" do
into:
class OH def hello it "foo" do end end
Join lines with a trailing slash
source = <<~'EOM' it "code can be split" \ "across multiple lines" do EOM lines = CleanDocument.new(source: source).join_consecutive!.lines expect(lines[0].to_s).to eq(source) expect(lines[1].to_s).to eq("")
Helper method for grabbing elements from document
Like ‘take_while` except when it stops iterating, it also returns the line that caused it to stop
Keywords need ends and ends need keywords
If we have more keywords, there’s a missing ‘end` if we have more `end`-s, there’s a missing keyword
Returns the destination encoding name as a string.
Returns the destination encoding name as a string.
Compile a InterpolatedMatchLastLineNode
node