Skip to content

Instantly share code, notes, and snippets.

/a.rb Secret

Created June 25, 2012 04:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/cc9f327c40a82d60870c to your computer and use it in GitHub Desktop.
Save anonymous/cc9f327c40a82d60870c to your computer and use it in GitHub Desktop.
= KKeerrnneell
(from ruby site)
------------------------------------------------------------------------------
= CCllaassss  mmeetthhooddss::
URI
open
open_uri_original_open
pp
= IInnssttaannccee  mmeetthhooddss::
Array
BigDecimal
Complex
Float
Integer
JSON
Pathname
Rational
String
URI
__callee__
__method__
`
abort
at_exit
autoload
autoload?
binding
block_given?
callcc
caller
catch
chomp
chop
eval
exec
exit
exit!
fail
fork
format
gem
gem_original_require
gets
global_variables
gsub
iterator?
j
jj
lambda
load
local_variables
loop
open
open_uri_original_open
p
pp
pretty_inspect
print
printf
proc
psych_y
putc
puts
raise
rand
readline
readlines
require
require_relative
scanf
select
set_trace_func
sleep
spawn
sprintf
srand
sub
syscall
system
test
throw
trace_var
trap
untrace_var
warn
y
(from gem activesupport-3.2.3)
------------------------------------------------------------------------------
= IInnssttaannccee  mmeetthhooddss::
breakpoint
capture
class_eval
debugger
enable_warnings
quietly
silence
silence_stream
silence_warnings
singleton_class
suppress
with_warnings
(from gem builder-3.0.0)
------------------------------------------------------------------------------
Since Ruby is very dynamic, methods added to the ancestors of BlankSlate
_a_f_t_e_r_ _B_l_a_n_k_S_l_a_t_e_ _i_s_
_d_e_f_i_n_e_d will show up in the list of available BlankSlate
methods. We handle this by defining a hook in the Object and Kernel classes
that will hide any method defined after BlankSlate has been loaded.
------------------------------------------------------------------------------
= CCllaassss  mmeetthhooddss::
blank_slate_method_added
method_added
(from gem debugger-1.1.1)
------------------------------------------------------------------------------
= IInnssttaannccee  mmeetthhooddss::
binding_n
breakpoint
debugger
(from gem highline-1.6.11)
------------------------------------------------------------------------------
require "highline/import" adds shortcut methods to Kernel, making agree(),
ask(), choose() and say() globally available. This is handy for quick and
dirty input and output. These methods use the HighLine object in the global
variable $terminal, which is initialized to used $stdin and $stdout (you are
free to change this). Otherwise, these methods are identical to their HighLine
counterparts, see that class for detailed explanations.
------------------------------------------------------------------------------
(from gem i18n-0.6.0)
------------------------------------------------------------------------------
= IInnssttaannccee  mmeetthhooddss::
suppress_warnings
(from gem ruby-debug-base19-0.11.25)
------------------------------------------------------------------------------
= IInnssttaannccee  mmeetthhooddss::
binding_n
breakpoint
debugger
(from gem ruby-debug19-0.11.6)
------------------------------------------------------------------------------
= IInnssttaannccee  mmeetthhooddss::
breakpoint
debugger
------------------------------------------------------------------------------
Also found in:
gem gist-3.1.0
gem json-1.7.3
gem json_pure-1.6.6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment