941件ヒット
[1-100件を表示]
(0.089秒)
ライブラリ
- ビルトイン (198)
-
bigdecimal
/ math (11) - cmath (48)
- delegate (22)
- etc (11)
- forwardable (77)
- getoptlong (11)
- json (22)
- matrix (22)
- mkmf (22)
-
net
/ http (7) - openssl (33)
- optparse (11)
- pp (11)
- prettyprint (11)
- psych (11)
-
rdoc
/ context (77) -
rdoc
/ parser / ruby (11) -
rdoc
/ single _ class (11) -
rdoc
/ top _ level (44) -
rexml
/ sax2listener (11) - rss (22)
- rubygems (22)
-
rubygems
/ specification (11) -
shell
/ process-controller (6) - singleton (44)
- tracer (11)
- win32ole (11)
クラス
- BasicObject (44)
- Delegator (22)
-
Gem
:: Specification (11) - Matrix (11)
-
Matrix
:: LUPDecomposition (11) - Module (33)
- Object (66)
-
OpenSSL
:: PKCS7 (11) - PP (11)
- PrettyPrint (11)
-
Psych
:: Nodes :: Scalar (11) -
RDoc
:: Context (77) -
RDoc
:: Parser :: Ruby (11) -
RDoc
:: TopLevel (44) -
Shell
:: ProcessController (6) - Tracer (11)
- WIN32OLE (11)
モジュール
- BigMath (11)
- CMath (48)
- Etc (11)
-
Gem
:: QuickLoader (22) - JSON (11)
- Kernel (22)
- Math (44)
-
OpenSSL
:: SSL (22) -
REXML
:: SAX2Listener (11) - SingleForwardable (66)
- Singleton (33)
オブジェクト
- main (11)
キーワード
- HTTPProcessing (7)
- MinusInfinity (11)
- MissingArgument (22)
- MissingAttributeError (11)
- MissingTagError (11)
- MissingUnicodeSupport (11)
-
OP
_ SINGLE _ DH _ USE (11) -
OP
_ SINGLE _ ECDH _ USE (11) -
SC
_ MESSAGE _ PASSING (11) - SINGLE (11)
-
SINGLE
_ QUOTED (11) - Single (11)
- SingleClass (11)
- SingleForwardable (11)
- Singleton (11)
-
USING
_ AT _ EXIT _ WHEN _ PROCESS _ EXIT (6) -
add
_ class (11) -
add
_ class _ or _ module (22) -
add
_ module (11) -
add
_ signer (11) -
all
_ classes _ and _ modules (11) - asin (17)
- asin! (6)
- asinh (17)
- asinh! (6)
-
attribute
_ alias _ singular (11) - bigdecimal (11)
-
bigdecimal
/ math (11) - classes (11)
- clone (11)
-
const
_ missing (22) -
def
_ delegator (11) -
def
_ delegators (11) -
def
_ single _ delegator (11) -
def
_ single _ delegators (11) -
define
_ singleton _ method (22) - delegate (11)
- dup (11)
-
each
_ classmodule (11) -
find
_ class _ named (11) -
find
_ enclosing _ module _ named (11) -
find
_ local _ symbol (11) - instance (11)
-
method
_ missing (44) -
processing
_ instruction (11) -
rb
_ define _ singleton _ method (11) -
rb
_ f _ missing (11) -
rb
_ obj _ singleton _ methods (11) -
rb
_ singleton _ class (11) -
rb
_ singleton _ class _ attached (11) -
rb
_ singleton _ class _ clone (11) -
rb
_ singleton _ class _ new (11) -
rdoc
/ single _ class (11) -
respond
_ to _ missing? (22) -
run
_ single _ final (11) -
set
_ visibility _ for (11) - sin! (6)
-
single
_ delegate (11) -
singleline
_ format (11) -
singleline
_ pp (11) - singleton (11)
-
singleton
_ class (11) -
singleton
_ class? (11) -
singleton
_ method (11) -
singleton
_ method _ added (11) -
singleton
_ method _ removed (11) -
singleton
_ method _ undefined (11) -
singleton
_ methods (11) - singular? (22)
- sinh (17)
- sinh! (6)
-
try
_ link (22) - using (22)
検索結果
先頭5件
-
JSON
:: MinusInfinity -> Float (24400.0) -
負の無限大を表します。
負の無限大を表します。
@see Float -
BigMath
. # sin(x , prec) -> BigDecimal (24207.0) -
x の正弦関数を prec で指定した精度で計算します。単位はラジアンです。x に無限大や NaN を指定した場合には NaN を返します。
...param x 計算対象の BigDecimal オブジェクト。単位はラジアン。
@param prec 計算結果の精度。
@raise ArgumentError prec に 0 以下が指定された場合に発生します。
//emlist[][ruby]{
require "bigdecimal/math"
puts BigMath::sin(BigDecimal('0.5'), 10) #=> 0.479... -
Math
. # sin(x) -> Float (24207.0) -
x の正弦関数(sine)の値を返します。
...関数(sine)の値を返します。
@param x 実数(ラジアンで与えます)
@return [-1, 1] の実数
@raise TypeError x に数値以外を指定した場合に発生します。
@raise RangeError x に実数以外の数値を指定した場合に発生します。
//emlist[例][r......uby]{
Math.sin(Math::PI/2) # => 1.0
//}
@see Math.#asin... -
CMath
. # sin(z) -> Float | Complex (24201.0) -
z の正弦関数の値を返します。
...z の正弦関数の値を返します。
@param z 数値(ラジアンで与えます)
@raise TypeError z に数値以外を指定した場合に発生します。... -
PrettyPrint
. singleline _ format(output = & # 39;& # 39; , maxwidth = 79 , newline = "\n" , genspace = lambda{|n| & # 39; & # 39; * n}) {|pp| . . . } -> object (21400.0) -
PrettyPrint オブジェクトを生成し、それを引数としてブロックを実行します。 PrettyPrint.format に似ていますが、改行しません。
...PrettyPrint オブジェクトを生成し、それを引数としてブロックを実行します。
PrettyPrint.format に似ていますが、改行しません。
引数 maxwidth, newline と genspace は無視されます。ブロック中の breakable の実行は、
改行せずに text......の実行であるかのように扱います。
@param output 出力先を指定します。output は << メソッドを持っていなければなりません。
@param maxwidth 無視されます。
@param newline 無視されます。
@param genspace 無視されます。... -
Object
# define _ singleton _ method(symbol) { . . . } -> Symbol (18324.0) -
self に特異メソッド name を定義します。
...m symbol メソッド名を String または Symbol で指定します。
@param method Proc、Method あるいは UnboundMethod の
いずれかのインスタンスを指定します。
@return メソッド名を表す Symbol を返します。
//emlist[][ruby]{
class A
class <<......self
def class_name
to_s
end
end
end
A.define_singleton_method(:who_am_i) do
"I am: #{class_name}"
end
A.who_am_i # ==> "I am: A"
guy = "Bob"
guy.define_singleton_method(:hello) { "#{self}: Hello there!" }
guy.hello #=> "Bob: Hello there!"
//}... -
Object
# define _ singleton _ method(symbol , method) -> Symbol (18324.0) -
self に特異メソッド name を定義します。
...m symbol メソッド名を String または Symbol で指定します。
@param method Proc、Method あるいは UnboundMethod の
いずれかのインスタンスを指定します。
@return メソッド名を表す Symbol を返します。
//emlist[][ruby]{
class A
class <<......self
def class_name
to_s
end
end
end
A.define_singleton_method(:who_am_i) do
"I am: #{class_name}"
end
A.who_am_i # ==> "I am: A"
guy = "Bob"
guy.define_singleton_method(:hello) { "#{self}: Hello there!" }
guy.hello #=> "Bob: Hello there!"
//}... -
PP
. singleline _ pp(obj , out= $ >) -> object (18300.0) -
指定されたオブジェクト obj を出力先 out に出力します。 ただし、インデントも改行もしません。 出力先 out を返します。
指定されたオブジェクト obj を出力先 out に出力します。
ただし、インデントも改行もしません。
出力先 out を返します。
@param obj 表示したいオブジェクトを指定します。
@param out 出力先を指定します。<< メソッドが定義されている必要があります。 -
RDoc
:: Context # find _ enclosing _ module _ named(name) -> RDoc :: NormalModule | nil (18300.0) -
find a module at a higher scope
...find a module at a higher scope... -
static VALUE run
_ single _ final(VALUE *args) (18200.0) -