Makes a list of existing constants public.
Returns the methods available to this delegate object as the union of this object’s and _getobj_ public methods.
Returns the original line from source for from the given object
.
See ::trace_object_allocations
for more information and examples.
Return any possible conflicts against the currently loaded specs.
Returns true
if the named public method is defined by mod. If inherit is set, the lookup will also search mod’s ancestors. String
arguments are converted to symbols.
module A def method1() end end class B protected def method2() end end class C < B include A def method3() end end A.method_defined? :method1 #=> true C.public_method_defined? "method1" #=> true C.public_method_defined? "method1", true #=> true C.public_method_defined? "method1", false #=> true C.public_method_defined? "method2" #=> false C.method_defined? "method2" #=> true
Makes a list of existing class methods public.
String
arguments are converted to symbols. An Array
of Symbols and/or Strings is also accepted.
Suffixes for dynamic library require-able paths.
Returns all of the lines of the source code associated with this node.
Returns true if the node has the static literal flag set.
Returns all of the lines of the source code associated with this location.
Return true if there are possible conflicts against the currently loaded specs.
Create a new ImplicitNode
node.
Enumerates the trusted certificates via Gem::Security::TrustDir
.
Indicates whether this DH
instance has a public key associated with it or not. The public key may be retrieved with DH#pub_key.
Indicates whether this DSA
instance has a public key associated with it or not. The public key may be retrieved with DSA#public_key
.
Returns whether this EC
instance has a public key. The public key (EC::Point
) can be retrieved with EC#public_key
.