instance method Gem::Command#begins?
begins?(long, short) -> bool
-
long が short で始まる文字列である場合真を返します。そうでない場合は偽を返します。
- [PARAM] long:
- 長いコマンドラインオプションを指定します。
- [PARAM] short:
- 短いコマンドラインオプションを指定します。
class Gem::Command
begins?(long, short) -> bool
long が short で始まる文字列である場合真を返します。そうでない場合は偽を返します。