4件ヒット
[1-4件を表示]
(0.089秒)
クラス
- File (1)
-
File
:: Stat (1) -
OpenSSL
:: ASN1 :: UTCTime (2)
検索結果
先頭4件
-
File
. ctime(filename) -> Time (54343.0) -
状態が最後に変更された時刻を返します。 状態の変更とは chmod などによるものです。
状態が最後に変更された時刻を返します。
状態の変更とは chmod などによるものです。
@param filename ファイル名を表す文字列か IO オブジェクトを指定します。
@raise Errno::EXXX ファイルの時刻の取得に失敗した場合に発生します。
//emlist[例:][ruby]{
IO.write("testfile", "test")
File.ctime("testfile") # => 2017-11-30 22:40:49 +0900
File.chmod(0755, "testfile")
File.ctime("testfile") # => 2... -
OpenSSL
:: ASN1 :: UTCTime . new(value) -> OpenSSL :: ASN1 :: UTCTime (9304.0) -
ASN.1 の UTCTime 型の値を表現する OpenSSL::ASN1::UTCTime オブジェクトを 生成します。
ASN.1 の UTCTime 型の値を表現する OpenSSL::ASN1::UTCTime オブジェクトを
生成します。
value 以外の引数を省略した場合はタグクラスは :UNIVERSAL、
タグ は OpenSSL::ASN1::UTCTIME となります。
@param value ASN.1 値を表す Ruby のオブジェクト(Timeオブジェクト)
@param tag タグ番号
@param tagging タグ付けの方法(:IMPLICIT もしくは :EXPLICIT)
@param tag_class タグクラス(:UNIVERSAL, :CONTEXT_SPEC... -
OpenSSL
:: ASN1 :: UTCTime . new(value , tag , tagging , tag _ class) -> OpenSSL :: ASN1 :: UTCTime (9304.0) -
ASN.1 の UTCTime 型の値を表現する OpenSSL::ASN1::UTCTime オブジェクトを 生成します。
ASN.1 の UTCTime 型の値を表現する OpenSSL::ASN1::UTCTime オブジェクトを
生成します。
value 以外の引数を省略した場合はタグクラスは :UNIVERSAL、
タグ は OpenSSL::ASN1::UTCTIME となります。
@param value ASN.1 値を表す Ruby のオブジェクト(Timeオブジェクト)
@param tag タグ番号
@param tagging タグ付けの方法(:IMPLICIT もしくは :EXPLICIT)
@param tag_class タグクラス(:UNIVERSAL, :CONTEXT_SPEC... -
File
:: Stat . new(path) -> File :: Stat (22.0) -
path に関する File::Stat オブジェクトを生成して返します。 File.stat と同じです。
path に関する File::Stat オブジェクトを生成して返します。
File.stat と同じです。
@param path ファイルのパスを指定します。
@raise Errno::ENOENT pathに該当するファイルが存在しない場合発生します。
//emlist[][ruby]{
p $:[0]
#=> 例
# "C:/Program Files/ruby-1.8/lib/ruby/site_ruby/1.8"
p File::Stat.new($:[0])
#=> 例
#<File::Stat dev=0x2, ino=0, mode=040755, nlink=1,...