module Wirble::Shortcuts

Convenient shortcut methods.

Public Instance Methods

po(o) click to toggle source

Print object methods, sorted by name. (excluding methods that exist in the class Object) .

# File lib/wirble.rb, line 461
def po(o)
  o.methods.sort - Object.methods
end
poc(o) click to toggle source

Print object constants, sorted by name.

# File lib/wirble.rb, line 468
def poc(o)
  o.constants.sort
end