Class Pry::WrappedModule
In: lib/pry/wrapped_module.rb
Parent: Object

Methods

Public Class methods

Create a new WrappedModule @raise ArgumentError, if the argument is not a Module @param [Module]

Public Instance methods

Forward method invocations to the wrapped module

The prefix that would appear before methods defined on this class.

i.e. the "String." or "String#" in String.new and String#initialize.

@return String

The name of the Module if it has one, otherwise #<Class:0xf00>.

@return [String]

Is this a singleton class? @return [Boolean]

Get the instance associated with this singleton class.

@raise ArgumentError: tried to get instance of non singleton class

@return [Object]

[Validate]