Parent

Namespace

Methods

Files

Object

Constants

Spruz

Public Instance Methods

examine(binding = TOPLEVEL_BINDING) click to toggle source
# File lib/tins/xt/irb.rb, line 19
def examine(binding = TOPLEVEL_BINDING)
  IRB.examine(binding)
end
named(name, method, *args, &named_block) click to toggle source
# File lib/tins/xt/named.rb, line 5
def named(name, method, *args, &named_block)
  extend Module.new {
    define_method(name) do |*rest, &block|
      block = named_block if named_block
      __send__(method, *(args + rest), &block)
    end
  }
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.