def inspect(inspector: NodeInspector) -> String
def copy: (**params) -> ConstantPathAndWriteNode
def inspect(inspector: NodeInspector) -> String
def copy: (**params) -> ConstantPathNode
def inspect(inspector: NodeInspector) -> String
def copy: (**params) -> ConstantPathOperatorWriteNode
def inspect(inspector: NodeInspector) -> String
def copy: (**params) -> ConstantPathOrWriteNode
def inspect(inspector: NodeInspector) -> String
def copy: (**params) -> ConstantPathTargetNode
def inspect(inspector: NodeInspector) -> String
def copy: (**params) -> ConstantPathWriteNode
def inspect(inspector: NodeInspector) -> String
def copy: (**params) -> ConstantReadNode
def inspect(inspector: NodeInspector) -> String
def copy: (**params) -> ConstantTargetNode
def inspect(inspector: NodeInspector) -> String
def copy: (**params) -> ConstantWriteNode
def inspect(inspector: NodeInspector) -> String
Returns an File
instance opened console.
If sym
is given, it will be sent to the opened console with args
and the result will be returned instead of the console IO
itself.
You must require ‘io/console’ to use this method.
Returns system configuration variable using confstr().
name should be a constant under Etc
which begins with CS_
.
The return value is a string or nil. nil means no configuration-defined value. (confstr() returns 0 but errno is not set.)
Etc.confstr(Etc::CS_PATH) #=> "/bin:/usr/bin" # GNU/Linux Etc.confstr(Etc::CS_GNU_LIBC_VERSION) #=> "glibc 2.18" Etc.confstr(Etc::CS_GNU_LIBPTHREAD_VERSION) #=> "NPTL 2.18"
The standard configuration object for gems.
Use the given configuration object (which implements the ConfigFile
protocol) as the standard configuration object.
Returns a new Array with the elements of self
in reverse order:
a = ['foo', 'bar', 'two'] a1 = a.reverse a1 # => ["two", "bar", "foo"]
Reverses self
in place:
a = ['foo', 'bar', 'two'] a.reverse! # => ["two", "bar", "foo"]