Writes the lock file alongside the gem dependencies file
A string explanation of the conflict.
Return the Specification that listed the dependency
Make sure the trust directory exists. If it does exist, make sure it’s actually a directory. If not, then create it with the appropriate permissions.
Returns the line number of this frame.
For example, using caller_locations.rb
from Thread::Backtrace::Location
loc = c(0..1).first loc.lineno #=> 2
Returns the same as calling inspect
on the string representation of to_str
Compile a ClassVariableOperatorWriteNode
node
Compile a ConstantPathOperatorWriteNode
node
Compile a GlobalVariableOperatorWriteNode
node
Compile a LocalVariableOperatorWriteNode
node
@@foo &&= bar
becomes
@@foo && @@foo = bar
@@foo ||= bar
becomes
defined?(@@foo) ? @@foo : @@foo = bar