PATH: //opt/alt/ruby26/lib64/ruby/2.6.0/bundler/vendor/thor/lib/thor/core_ext
FILE_BARU
CREATE
FOLDER_BARU
MKDIR
UPLOAD_FILE
GO
[ .. KEMBALI ]
📄 hash_with_indifferent_access.rb
↓
X
📄 io_binary_read.rb
↓
X
📄 ordered_hash.rb
↓
X
SAVING...
BERHASIL DIUBAH!
EDITING: io_binary_read.rb
class IO #:nodoc: class << self unless method_defined? :binread def binread(file, *args) raise ArgumentError, "wrong number of arguments (#{1 + args.size} for 1..3)" unless args.size < 3 File.open(file, "rb") do |f| f.read(*args) end end end end end
SIMPAN PERUBAHAN