Results for: "pstore"

Returns a duplicate of self, in mixed mode (see Mixed Mode):

source = "Name,Value\nfoo,0\nbar,1\nbaz,2\n"
table = CSV.parse(source, headers: true).by_col!
table.mode # => :col
dup_table = table.by_col_or_row
dup_table.mode # => :col_or_row
dup_table.equal?(table) # => false # It's a dup

This may be used to chain method calls without changing the mode (but also will affect performance and memory usage):

dup_table.by_col_or_row['Name']

Also note that changes to the duplicate table will not affect the original.

Sets the mode for self to mixed mode (see Mixed Mode); returns self:

source = "Name,Value\nfoo,0\nbar,1\nbaz,2\n"
table = CSV.parse(source, headers: true).by_col!
table.mode # => :col
table1 = table.by_col_or_row!
table.mode # => :col_or_row
table1.equal?(table) # => true # Returned self

Example:

x.foo
 ^^^^
x.foo(42)
 ^^^^
x&.foo
 ^^^^^
x[42]
 ^^^^
x += 1
  ^

Example:

x.foo(42)
      ^^
x[42]
  ^^
x += 1
     ^

Example:

x.foo = 1
 ^^^^^^
x[42] = 1
 ^^^^^^

Example:

x.foo = 1
        ^
x[42] = 1
  ^^^^^^^
x[] = 1
  ^^^^^

Example:

x + 1
  ^
+x
^

Example:

x + 1
    ^

Example:

foo(42)
^^^
foo 42
^^^

Example:

foo(42)
    ^^
foo 42
    ^^
No documentation available

Compile a CapturePatternNode node

Compile a ConstantPathNode node

Compile a ConstantTargetNode node

Compile a ConstantWriteNode node

Compile a EmbeddedStatementsNode node

Compile a ForwardingArgumentsNode node

Compile a ForwardingParameterNode node

Compile a ForwardingSuperNode node

Compile a InterpolatedStringNode node

Compile a InterpolatedXStringNode node

Compile a KeywordHashNode node

Compile a MatchPredicateNode node

Compile a NumberedParametersNode node

Compile a PinnedExpressionNode node

Search took: 5ms  ·  Total Results: 3855