Returns the path of this instruction sequence.
<compiled>
if the iseq was evaluated from a string.
For example, using irb:
iseq = RubyVM::InstructionSequence.compile('num = 1 + 2') #=> <RubyVM::InstructionSequence:<compiled>@<compiled>> iseq.path #=> "<compiled>"
Using ::compile_file
:
# /tmp/method.rb def hello puts "hello, world" end # in irb > iseq = RubyVM::InstructionSequence.compile_file('/tmp/method.rb') > iseq.path #=> /tmp/method.rb
Set
path for which this cookie applies
Set
domain for which this cookie applies
Store session data on the server. For some session storage types, this is a no-op.
Returns the path from an FTP
URI
.
RFC 1738 specifically states that the path for an FTP
URI
does not include the / which separates the URI
path from the URI
host. Example:
ftp://ftp.example.com/pub/ruby
The above URI
indicates that the client should connect to ftp.example.com then cd to pub/ruby from the initial login directory.
If you want to cd to an absolute directory, you must include an escaped / (%2F) in the path. Example:
ftp://ftp.example.com/%2Fpub/ruby
This method will then return “/pub/ruby”.
def operator: () -> String
def operator: () -> String
Returns the binary operator used to modify the receiver. This method is deprecated in favor of binary_operator
.
def operator: () -> String
def operator: () -> String
Returns the binary operator used to modify the receiver. This method is deprecated in favor of binary_operator
.
def operator: () -> String
def operator: () -> String
Returns the binary operator used to modify the receiver. This method is deprecated in favor of binary_operator
.
def operator: () -> String
def operator: () -> String
Returns the binary operator used to modify the receiver. This method is deprecated in favor of binary_operator
.
def operator: () -> String
def operator: () -> String
Returns the binary operator used to modify the receiver. This method is deprecated in favor of binary_operator
.
A Location
instance that represents the location of this node in the source.
def operator: () -> String
def operator: () -> String
def operator: () -> String
?