Linux premium71.web-hosting.com 4.18.0-513.11.1.lve.el8.x86_64 #1 SMP Thu Jan 18 16:21:02 UTC 2024 x86_64
LiteSpeed
Server IP : 198.187.29.8 & Your IP : 18.119.139.22
Domains :
Cant Read [ /etc/named.conf ]
User : cleahvkv
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
opt /
alt /
ruby21 /
lib64 /
ruby /
2.1.0 /
irb /
Delete
Unzip
Name
Size
Permission
Date
Action
cmd
[ DIR ]
drwxr-xr-x
2024-03-03 22:43
ext
[ DIR ]
drwxr-xr-x
2024-03-03 22:43
lc
[ DIR ]
drwxr-xr-x
2024-03-03 22:43
completion.rb
5.93
KB
-rw-r--r--
2013-06-04 14:17
context.rb
11.91
KB
-rw-r--r--
2013-02-04 22:36
extend-command.rb
9.54
KB
-rw-r--r--
2012-12-21 05:45
frame.rb
1.87
KB
-rw-r--r--
2012-12-21 05:45
help.rb
613
B
-rw-r--r--
2012-12-21 05:45
init.rb
7.07
KB
-rw-r--r--
2012-12-26 03:55
input-method.rb
4.58
KB
-rw-r--r--
2012-12-21 17:29
inspector.rb
3.9
KB
-rw-r--r--
2013-11-30 09:50
locale.rb
4.43
KB
-rw-r--r--
2012-12-13 05:22
magic-file.rb
893
B
-rw-r--r--
2012-12-10 02:06
notifier.rb
6.87
KB
-rw-r--r--
2013-11-27 12:56
output-method.rb
2.39
KB
-rw-r--r--
2012-12-25 13:34
ruby-lex.rb
22.59
KB
-rw-r--r--
2012-12-27 14:48
ruby-token.rb
7.3
KB
-rw-r--r--
2012-12-13 05:22
slex.rb
5.95
KB
-rw-r--r--
2012-12-21 17:36
src_encoding.rb
90
B
-rw-r--r--
2009-10-02 10:45
version.rb
251
B
-rw-r--r--
2012-12-13 05:22
workspace.rb
2.78
KB
-rw-r--r--
2013-11-30 09:50
ws-for-case-2.rb
195
B
-rw-r--r--
2010-11-08 20:59
xmp.rb
4.03
KB
-rw-r--r--
2012-12-21 05:45
Save
Rename
# # output-method.rb - output methods used by irb # $Release Version: 0.9.6$ # $Revision: 38604 $ # by Keiju ISHITSUKA(keiju@ruby-lang.org) # # -- # # # require "e2mmap" module IRB # An abstract output class for IO in irb. This is mainly used internally by # IRB::Notifier. You can define your own output method to use with Irb.new, # or Context.new class OutputMethod extend Exception2MessageMapper def_exception :NotImplementedError, "Need to define `%s'" # Open this method to implement your own output method, raises a # NotImplementedError if you don't define #print in your own class. def print(*opts) OutputMethod.Raise NotImplementedError, "print" end # Prints the given +opts+, with a newline delimiter. def printn(*opts) print opts.join(" "), "\n" end # Extends IO#printf to format the given +opts+ for Kernel#sprintf using # #parse_printf_format def printf(format, *opts) if /(%*)%I/ =~ format format, opts = parse_printf_format(format, opts) end print sprintf(format, *opts) end # Returns an array of the given +format+ and +opts+ to be used by # Kernel#sprintf, if there was a successful Regexp match in the given # +format+ from #printf # # % # <flag> [#0- +] # <minimum field width> (\*|\*[1-9][0-9]*\$|[1-9][0-9]*) # <precision>.(\*|\*[1-9][0-9]*\$|[1-9][0-9]*|)? # #<length modifier>(hh|h|l|ll|L|q|j|z|t) # <conversion specifier>[diouxXeEfgGcsb%] def parse_printf_format(format, opts) return format, opts if $1.size % 2 == 1 end # Calls #print on each element in the given +objs+, followed by a newline # character. def puts(*objs) for obj in objs print(*obj) print "\n" end end # Prints the given +objs+ calling Object#inspect on each. # # See #puts for more detail. def pp(*objs) puts(*objs.collect{|obj| obj.inspect}) end # Prints the given +objs+ calling Object#inspect on each and appending the # given +prefix+. # # See #puts for more detail. def ppx(prefix, *objs) puts(*objs.collect{|obj| prefix+obj.inspect}) end end # A standard output printer class StdioOutputMethod<OutputMethod # Prints the given +opts+ to standard output, see IO#print for more # information. def print(*opts) STDOUT.print(*opts) end end end