種類
- モジュール (24)
- モジュール関数 (24)
- インスタンスメソッド (24)
- 文書 (12)
モジュール
- Kernel (24)
-
Syslog
:: Macros (24)
キーワード
- Constants (12)
-
LOG
_ MASK (12) -
LOG
_ UPTO (12) -
NEWS for Ruby 2
. 0 . 0 (12) -
convertible
_ int (24)
検索結果
先頭5件
-
Syslog
:: Macros (24000.0) -
このモジュールには syslog のユーティリティ関数が定義されています。
このモジュールには syslog のユーティリティ関数が定義されています。 -
Syslog
:: Macros . # LOG _ MASK(priority) -> Integer (9100.0) -
1つの優先度に対するマスクを作成します。
...1つの優先度に対するマスクを作成します。
@param priority priority は優先度を示す定数を指定します。
詳しくは、Syslog::Levelを参照してください。
例:
require 'syslog'
Syslog.mask = Syslog::LOG_MASK(Syslog::LOG_ERR)... -
Syslog
:: Constants (6006.0) -
このモジュールにはシステムで使用可能なLOG_*定数、モジュール関数が定義さ れています。
...、モジュール関数が定義さ
れています。
例:
require 'syslog'
include Syslog::Constants
それぞれの定数、モジュール関数は以下のモジュールに分けて定義されています。
* Syslog::Option
* Syslog::Facility
* Syslog::Level
* Syslog::Macros... -
Syslog
:: Macros . # LOG _ UPTO(priority) -> Integer (6000.0) -
priorityまでのすべての優先度のマスクを作成します。
...のすべての優先度のマスクを作成します。
@param priority priority は優先度を示す定数を指定します。
詳しくは、Syslog::Levelを参照してください。
例:
require 'syslog'
Syslog.mask = Syslog::LOG_UPTO(Syslog::LOG_ERR)... -
Kernel
# convertible _ int(type , headers = nil , opts = nil) (148.0) -
Returns the convertible integer type of the given +type+. You may optionally specify additional +headers+ to search in for the +type+. _Convertible_ means actually same type, or typedefed from same type. If the +type+ is a integer type and _convertible_ type is found, following macros are passed as preprocessor constants to the compiler using the +type+ name, in uppercase. * 'TYPEOF_', followed by the +type+ name, followed by '=X' where 'X' is the found _convertible_ type name. * 'TYP2NUM' and 'NUM2TYP, where 'TYP' is the +type+ name in uppercase with replacing '_t' suffix with 'T', followed by '=X' where 'X' is the macro name to convert +type+ to +Integer+ object, and vice versa. For example, if foobar_t is defined as unsigned long, then convertible_int("foobar_t") would return "unsigned long", and define macros: #define TYPEOF_FOOBAR_T unsigned long #define FOOBART2NUM ULONG2NUM #define NUM2FOOBART NUM2ULONG
...iven +type+. You may
optionally specify additional +headers+ to search in for the +type+.
_Convertible_ means actually same type, or typedefed from same type.
If the +type+ is a integer type and _convertible_ type is found,
following macros are passed as preprocessor constants to the
compile......ype+ name, in uppercase.
* 'TYPEOF_', followed by the +type+ name, followed by '=X' where 'X'
is the found _convertible_ type name. * 'TYP2NUM' and 'NUM2TYP,
where 'TYP' is the +type+ name in uppercase with replacing '_t'
suffix with 'T', followed by '=X' where 'X' is the macro name to......ert +type+ to +Integer+ object, and vice versa.
For example, if foobar_t is defined as unsigned long, then
convertible_int("foobar_t") would return "unsigned long", and define
macros:
#define TYPEOF_FOOBAR_T unsigned long
#define FOOBART2NUM ULONG2NUM
#define NUM2FOOBART NUM2ULONG... -
Kernel
# convertible _ int(type , headers = nil , opts = nil) { . . . } (148.0) -
Returns the convertible integer type of the given +type+. You may optionally specify additional +headers+ to search in for the +type+. _Convertible_ means actually same type, or typedefed from same type. If the +type+ is a integer type and _convertible_ type is found, following macros are passed as preprocessor constants to the compiler using the +type+ name, in uppercase. * 'TYPEOF_', followed by the +type+ name, followed by '=X' where 'X' is the found _convertible_ type name. * 'TYP2NUM' and 'NUM2TYP, where 'TYP' is the +type+ name in uppercase with replacing '_t' suffix with 'T', followed by '=X' where 'X' is the macro name to convert +type+ to +Integer+ object, and vice versa. For example, if foobar_t is defined as unsigned long, then convertible_int("foobar_t") would return "unsigned long", and define macros: #define TYPEOF_FOOBAR_T unsigned long #define FOOBART2NUM ULONG2NUM #define NUM2FOOBART NUM2ULONG
...iven +type+. You may
optionally specify additional +headers+ to search in for the +type+.
_Convertible_ means actually same type, or typedefed from same type.
If the +type+ is a integer type and _convertible_ type is found,
following macros are passed as preprocessor constants to the
compile......ype+ name, in uppercase.
* 'TYPEOF_', followed by the +type+ name, followed by '=X' where 'X'
is the found _convertible_ type name. * 'TYP2NUM' and 'NUM2TYP,
where 'TYP' is the +type+ name in uppercase with replacing '_t'
suffix with 'T', followed by '=X' where 'X' is the macro name to......ert +type+ to +Integer+ object, and vice versa.
For example, if foobar_t is defined as unsigned long, then
convertible_int("foobar_t") would return "unsigned long", and define
macros:
#define TYPEOF_FOOBAR_T unsigned long
#define FOOBART2NUM ULONG2NUM
#define NUM2FOOBART NUM2ULONG... -
NEWS for Ruby 2
. 0 . 0 (84.0) -
NEWS for Ruby 2.0.0 このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。
...エントリーは参照情報があるため短いです。
十分な情報と共に書かれた全ての変更のリストは ChangeLog ファイルか bugs.ruby-lang.org の issue を参照してください。
== 1.9.3 以降の変更
=== 言語仕様の変更
* キーワード引数を追......ースエンコーディングを US-ASCII から UTF-8 に変更しました
* '_' で始まる使用されていない変数は警告しなくなりました
=== 組み込みクラスの更新
* ARGF.class
* 追加: ARGF.class#codepoints, ARGF.class#each_codepoint
IO にある同......* 非推奨: StringIO#lines, StringIO#bytes, StringIO#chars, StringIO#codepoints
* syslog
* 追加: Syslog::Logger Syslog上に Logger API を提供します
* 追加: Syslog::Priority, Syslog::Level, Syslog::Option, Syslog::Macros
システムで定義されている定数を簡...