Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

IO and File class for old versions (<= 1.3.x) of mruby

NotificationsYou must be signed in to change notification settings

iij/mruby-io

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status

IO andFile classes for mruby

Note: mruby-io is incorporated in mruby now. If you use mruby 1.4.0 or later, build it with bundled mruby-io.This repository supports mruby <= 1.3.x only.

Installation

Add the line below to yourbuild_config.rb:

  conf.gem :github => 'iij/mruby-io'

Implemented methods

IO

methodmruby-iomemo
IO.binread
IO.binwrite
IO.copy_stream
IO.new, IO.for_fd, IO.openo
IO.foreach
IO.pipeo
IO.popeno
IO.reado
IO.readlines
IO.selecto
IO.sysopeno
IO.try_convert
IO.write
IO#<<
IO#advise
IO#autoclose=
IO#autoclose?
IO#binmode
IO#binmode?
IO#bytesobsolete
IO#charsobsolete
IO#clone, IO#dup
IO#closeo
IO#close_on_exec=o
IO#close_on_exec?o
IO#close_read
IO#close_write
IO#closed?o
IO#codepointsobsolete
IO#each_byteo
IO#each_charo
IO#each_codepoint
IO#each_lineo
IO#eof, IO#eof?o
IO#external_encoding
IO#fcntl
IO#fdatasync
IO#fileno, IO#to_io
IO#flusho
IO#fsync
IO#getbyte
IO#getco
IO#getso
IO#internal_encoding
IO#ioctl
IO#isatty, IO#tty?o
IO#lineno
IO#lineno=
IO#linesobsolete
IO#pido
IO#pos, IO#tello
IO#pos=o
IO#printo
IO#printfo
IO#putc
IO#putso
IO#reado
IO#read_nonblock
IO#readbyte
IO#readcharo
IO#readlineo
IO#readlineso
IO#readpartial
IO#reopen
IO#rewind
IO#seeko
IO#set_encoding
IO#stat
IO#synco
IO#sync=o
IO#sysreado
IO#sysseeko
IO#syswriteo
IO#to_io
IO#ungetbyte
IO#ungetco
IO#writeo
IO#write_nonblock

File

methodmruby-iomemo
File.absolute_path
File.atime
File.basenameo
File.blockdev?FileTest
File.chardev?FileTest
File.chmodo
File.chown
File.ctime
File.delete, File.unlinko
File.directory?oFileTest
File.dirnameo
File.executable?FileTest
File.executable_real?FileTest
File.exist?, exists?oFileTest
File.expand_patho
File.extnameo
File.file?oFileTest
File.fnmatch, File.fnmatch?
File.ftype
File.grpowned?FileTest
File.identical?FileTest
File.joino
File.lchmod
File.lchown
File.link
File.lstat
File.mtime
File.new, File.openo
File.owned?FileTest
File.path
File.pipe?oFileTest
File.readable?FileTest
File.readable_real?FileTest
File.readlinko
File.realdirpath
File.realpatho
File.renameo
File.setgid?FileTest
File.setuid?FileTest
File.sizeo
File.size?oFileTest
File.socket?oFileTest
File.split
File.stat
File.sticky?FileTest
File.symlink
File.symlink?oFileTest
File.truncate
File.umasko
File.utime
File.world_readable?
File.world_writable?
File.writable?FileTest
File.writable_real?FileTest
File.zero?oFileTest
File#atime
File#chmod
File#chown
File#ctime
File#flocko
File#lstat
File#mtime
File#path, File#to_patho
File#size
File#truncate

License

Copyright (c) 2013 Internet Initiative Japan Inc.

Permission is hereby granted, free of charge, to any person obtaining acopy of this software and associated documentation files (the "Software"),to deal in the Software without restriction, including without limitationthe rights to use, copy, modify, merge, publish, distribute, sublicense,and/or sell copies of the Software, and to permit persons to whom theSoftware is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included inall copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS ORIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THEAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHERLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISINGFROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHERDEALINGS IN THE SOFTWARE.

About

IO and File class for old versions (<= 1.3.x) of mruby

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp