るりまサーチ

最速Rubyリファレンスマニュアル検索!
32件ヒット [1-32件を表示] (0.011秒)
トップページ > クエリ:pp[x] > クエリ:create[x]

別のキーワード

  1. pp pp
  2. pp seplist
  3. pp object_group
  4. pp singleline_pp
  5. pp comma_breakable

ライブラリ

クラス

キーワード

検索結果

Gem::Requirement.create(input) -> Gem::Requirement (18113.0)

Gem::Requirement のインスタンスを作成するためのファクトリメソッドです。

...のいずれかを指定します。

@return 上記以外の値を input に指定するとデフォルト値を返します。

//emlist[][ruby]{
pp
Gem::Requirement.create("~> 3.2.1")
# => Gem::Requirement.new(["~> 3.2.1"])
//}

@see Gem::Requirement.new, Gem::Requirement.default...

xmlrpc (24.0)

XML-RPC を扱うためのライブラリです。

...xmlrpc.com.

XMLRPC allows you to create simple distributed computing solutions that span
computer languages. Its distinctive feature is its simplicity compared to
other approaches like SOAP and CORBA.

The Ruby standard library package 'xmlrpc' enables you to create a server that
implements remote...
...andard demonstration remote procedure.

require 'xmlrpc/client'
require 'pp'

server = XMLRPC::Client.new2("http://xmlrpc-c.sourceforge.net/api/sample.php")
result = server.call("sample.sumAndDifference", 5, 3)
pp
result

=== Documentation

See http://www.ntecs.de/projects/xmlrpc4r. There...
...can (XMLScanStreamParser)
* Fastest parser is Expat's XMLStreamParser!

* General
* possible to choose between XMLParser module (Expat wrapper) and REXML/NQXML (pure Ruby) parsers
* Marshalling Ruby objects to Hashs and reconstruct them later from a Hash
* SandStorm component arch...

NEWS for Ruby 3.0.0 (18.0)

NEWS for Ruby 3.0.0 このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。

...[[[1]], {}]

pr.call([1, {a: 1}])
# 2.7 => [[1], {:a=>1}] # and deprecation warning
# 3.0 => a=>1}, {}]
//}

* Arguments forwarding (`...`) now supports leading arguments.
16378

//emlist{
def method_missing(meth, ...)
send(:"do_#{meth}", ...)
end
//}

* Pattern matching (`case/in`) is...
...ERIMENTAL]
16828

//emlist{
case ["a", 1, "b", "c", 2, "d", "e", "f", 3]
in [*pre, String => x, String => y, *post]
p p
re #=> ["a", 1]
p x #=> "b"
p y #=> "c"
p p
ost #=> [2, "d", "e", "f", 3]
end
//}

* Endless method definition is added. [EXPERIMENTAL]
16746

//emlist{
def...
...16233
* Changed default for Encoding.default_external to UTF-8 on Windows 16604
* Fiber
* Fiber.new(blocking: true/false) allows you to create non-blocking execution contexts. 16786
* Fiber#blocking? tells whether the fiber is non-blocking. 16786
* Fiber#backtrace and Fiber#backt...

Gem::Requirement.new(requirements) -> Gem::Requirement (12.0)

Gem::Requirement のインスタンスを作成します。

...ent のインスタンスを作成します。

@param requirements 文字列か配列か Gem::Version のインスタンスを指定します。

//emlist[][ruby]{
pp
Gem::Requirement.new("~> 3.2.1")
# => Gem::Requirement.new(["~> 3.2.1"])
//}

@see Gem::Requirement#parse, Gem::Requirement.create...