66件ヒット
[1-66件を表示]
(0.056秒)
種類
- インスタンスメソッド (33)
- 定数 (11)
- 文書 (11)
- モジュール関数 (11)
クラス
- Logger (11)
-
Rake
:: FileCreationTask (11) -
Rake
:: FileTask (11)
キーワード
-
PC
_ FILESIZEBITS (11) - formatter (11)
-
ruby 1
. 6 feature (11) - touch (11)
検索結果
先頭5件
-
Rake
:: FileTask # timestamp -> Time | Rake :: LateTime (24119.0) -
ファイルタスクのタイムスタンプを返します。
...ファイルタスクのタイムスタンプを返します。
//emlist[][ruby]{
# Rakefile での記載例とする
task default: "test.txt"
file "test.txt" do |task|
Rake.application.options.build_all = false
task.timestamp # => #<Rake::LateTime:0x2ba58f0>
end
//}... -
Rake
:: FileCreationTask # timestamp -> Rake :: EarlyTime (24107.0) -
どんなタイムスタンプよりも前の時刻をあらわすタイムスタンプを返します。
...どんなタイムスタンプよりも前の時刻をあらわすタイムスタンプを返します。
@see [[FileTask#timestamp]]... -
Etc
:: PC _ FILESIZEBITS -> Integer (6201.0) -
IO#pathconf の引数に指定します。
IO#pathconf の引数に指定します。
詳細は fpathconf(3) を参照してください。 -
FileUtils
. # touch(list , options = {}) -> () (6012.0) -
list で指定されたファイルの最終変更時刻 (mtime) と アクセス時刻 (atime) を変更します。
...場合は配列で指定します。
@param options :mtime, :nocreate, :noop, :verbose が指定できます。
c:FileUtils#options
//emlist[][ruby]{
require 'fileutils'
FileUtils.touch('timestamp')
FileUtils.touch('timestamp', mtime: Time.now)
FileUtils.touch(Dir.glob('*.c'))
//}... -
ruby 1
. 6 feature (378.0) -
ruby 1.6 feature ruby version 1.6 は安定版です。この版での変更はバグ修正がメイン になります。
...ったため、enq などを
呼び出したときスーパークラス Queue の enq が実行されていました。
: 2002-09-11: ((<tempfile/Tempfile#size>))
追加 ((<ruby-dev:17221>))
: 2002-09-09
mswin32 版と mingw32 版の ruby で、1.6.6の頃から ruby の子プロセスに......by-dev:18145>))
: 2002-08-20 File.expand_path
Cygwin 1.3.x ((<ruby-bugs-ja:PR#299>))
p File.expand_path('file', 'c:/')
=> ruby 1.6.7 (2002-03-01) [i586-linux]
/tmp/c:/file
=> ruby 1.6.7 (2002-08-21) [i586-linux]
c:/file
: 2002-08-19 Thread (win)......-03-01) [i586-linux]
true
=> ruby 1.6.7 (2002-08-21) [i586-linux]
false
# : 2002-08-01 IO#read, gets ..., etc.
#
# File::NONBLOCK を指定した IO の読み込みで EWOULDBLOCK が発生すると、
# 途中まで読んだデータが失われることがあ... -
Logger
# formatter -> String (24.0) -
ログを出力する際に使用するフォーマッターを取得します。
...FO -- : test
ltsv_formatter = proc { |severity, timestamp, progname, msg|
"time:#{timestamp}\tlevel:#{severity}\tprogname:#{progname}\tmessage:#{msg}\n"
}
logger.formatter = ltsv_formatter
logger.formatter # => #<Proc:0x00007fa3048b8e00@/path/to/file:8>
logger.info("MyApp") { "test" }
# => time:...