Ruby 1.9.2 Reference Manual > All Libraries > library json/add/core > class Regexp > json_create

singleton method Regexp.json_create

json_create(hash) -> Regexp [added by json/add/core]

JSON のオブジェクトから Ruby のオブジェクトを生成して返します。

[PARAM] hash:
適切なキーを持つハッシュを指定します。