| Modifier and Type | Field and Description |
|---|---|
| public static final RubyHash. | |
| private static final IRubyObject[] | |
| private static final IRubyObject[] | |
| private static final IRubyObject[] | |
| public static final RubyHash. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static int | |
| public static RubyArray | convertToRubyArray(Ruby
The JRuby runtime runtime, IRubyObject The value to convert value, boolean Whether to coerce using to_ary or just wrap with an array coerce)This name may be a bit misleading, since this also attempts to coerce array behavior using to_ary. |
| public static RubyArray | |
| public static IRubyObject | |
| public static IRubyObject | Returns: null if key not within options, otherwiseoptions[:keyword]the keyword to extract validKey)Same as |
| public static IRubyObject | Returns: nil if key not within options (no way to distinguish a key: nil and missing key)Semi-deprecated, kept for compatibility. |
| public static IRubyObject | Returns: nil if key not within options (no way to distinguish a key: nil and missing key)Semi-deprecated, kept for compatibility. |
| public static IRubyObject | Returns: nil if key not within options (no way to distinguish a key: nil and missing key)Semi-deprecated, kept for compatibility. |
| public static IRubyObject[] | Returns: an array of objects corresponding to the given keys.The context to execute in context, final RubyHash A RubyHash of options to extract kwargs from options, String... A list of valid kwargs keys. validKeys)Check that the given kwargs hash doesn't contain any keys other than those which are given as valid. |
| public static IRubyObject[] | |
| public static IRubyObject[] | |
| public static RubyHash | |
| public static IRubyObject | |
| public static IRubyObject | |
| public static IRubyObject | |
| public static IRubyObject | |
| public static IRubyObject | |
| public static boolean |
| MULTI_KEY_CHECK_VISITOR | back to summary |
|---|---|
| public static final RubyHash. | |
| NULL_1 | back to summary |
|---|---|
| private static final IRubyObject[] NULL_1 | |
| NULL_2 | back to summary |
|---|---|
| private static final IRubyObject[] NULL_2 | |
| NULL_3 | back to summary |
|---|---|
| private static final IRubyObject[] NULL_3 | |
| SINGLE_KEY_CHECK_VISITOR | back to summary |
|---|---|
| public static final RubyHash. | |
| ArgsUtil | back to summary |
|---|---|
| public ArgsUtil() | |
| arrayLength | back to summary |
|---|---|
| public static int arrayLength(IRubyObject node) | |
| convertToRubyArray | back to summary |
|---|---|
| public static RubyArray This name may be a bit misleading, since this also attempts to coerce array behavior using to_ary.
| |
| convertToRubyArrayWithCoerce | back to summary |
|---|---|
| public static RubyArray | |
| extractKeywordArg | back to summary |
|---|---|
| public static IRubyObject extractKeywordArg(ThreadContext context, IRubyObject maybeKwargs, String validKey) | |
| extractKeywordArg | back to summary |
|---|---|
| public static IRubyObject extractKeywordArg(ThreadContext context, final RubyHash options, String validKey) Same as
| |
| extractKeywordArg | back to summary |
|---|---|
| public static IRubyObject extractKeywordArg(ThreadContext context, String keyword, final RubyHash opts) Semi-deprecated, kept for compatibility.
Compared to
| |
| extractKeywordArg | back to summary |
|---|---|
| public static IRubyObject extractKeywordArg(ThreadContext context, String keyword, IRubyObject arg) Semi-deprecated, kept for compatibility.
Compared to
| |
| extractKeywordArg | back to summary |
|---|---|
| public static IRubyObject extractKeywordArg(ThreadContext context, String keyword, IRubyObject... args) Semi-deprecated, kept for compatibility.
Compared to
| |
| extractKeywordArgs | back to summary |
|---|---|
| public static IRubyObject[] extractKeywordArgs(ThreadContext context, final RubyHash options, String... validKeys) Check that the given kwargs hash doesn't contain any keys other than those which are given as valid.
| |
| extractKeywordArgs | back to summary |
|---|---|
| public static IRubyObject[] extractKeywordArgs(ThreadContext context, IRubyObject[] args, String... validKeys)
Deprecated
| |
| extractKeywordArgs | back to summary |
|---|---|
| public static IRubyObject[] extractKeywordArgs(ThreadContext context, IRubyObject maybeKwargs, String... validKeys) | |
| extractKeywords | back to summary |
|---|---|
| public static RubyHash extractKeywords(IRubyObject possiblyKeywordArg) | |
| getFreezeOpt | back to summary |
|---|---|
| public static IRubyObject getFreezeOpt(ThreadContext context, IRubyObject maybeOpts) | |
| getOptionsArg | back to summary |
|---|---|
| public static IRubyObject getOptionsArg(Ruby runtime, IRubyObject... args) | |
| getOptionsArg | back to summary |
|---|---|
| public static IRubyObject getOptionsArg(Ruby runtime, IRubyObject arg)
Deprecated since 10.0.
| |
| getOptionsArg | back to summary |
|---|---|
| public static IRubyObject getOptionsArg(ThreadContext context, IRubyObject arg) | |
| getOptionsArg | back to summary |
|---|---|
| public static IRubyObject getOptionsArg(Ruby runtime, IRubyObject arg, boolean raise) | |
| hasExceptionOption | back to summary |
|---|---|
| public static boolean hasExceptionOption(ThreadContext context, IRubyObject options, boolean defaultValue) | |