Skip to content

Instantly share code, notes, and snippets.

Created June 25, 2012 04:26
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/2986519 to your computer and use it in GitHub Desktop.
Save anonymous/2986519 to your computer and use it in GitHub Desktop.
= KKeerrnneell
(from gem activesupport-3.2.5)
------------------------------------------------------------------------------
------------------------------------------------------------------------------
= 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 erubis-2.7.0)
------------------------------------------------------------------------------
$Release: 2.7.0 $ copyright(c) 2006-2011 kuwata-lab.com all rights reserved.
------------------------------------------------------------------------------
= IInnssttaannccee  mmeetthhooddss::
not_implemented
(from gem highline-1.6.12)
------------------------------------------------------------------------------
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 yada_yada-0.1)
------------------------------------------------------------------------------
= IInnssttaannccee  mmeetthhooddss::
yada_yada
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment