Methods
Classes and Modules
Class Method::Probe
Public Instance methods
signature(detail=nil)

Outputs signiture information.

# File lib/facets/more/methodprobe.rb, line 139
  def signature(detail=nil)
    ds = []
    case detail
    when :complete, :all, :full
      ds = migration
    when :class, :with_class
      migration.each { |dh| ds << dh.ducks }
    when :pp, :pretty, :prettyprint, :pretty_print
      migration.each do |dh|
        responders = []
        dh.ducks.each do |responder, argss|
          argss.each { |args| responders << "#{responder}( #{args.join(',')} )" }
        end
        ds << responders
      end
    else
      migration.each { |dh| ds << dh.ducks.keys }
    end
    return ds
  end
Private Instance methods
migration()

Outputs migration information.

# File lib/facets/more/methodprobe.rb, line 126
  def migration
    parameters = []; argc = self.arity
    if argc > 0
      argc.times { parameters << Probe.new }
      Probe.duckcall { self.call(*parameters) }
    elsif argc < 0
      raise "(NYI) method takes unlimited arguments"
    end
    return parameters
  end