Skip to content

Instantly share code, notes, and snippets.

@pigoz
Created January 22, 2011 20:35
Show Gist options
  • Select an option

  • Save pigoz/791451 to your computer and use it in GitHub Desktop.

Select an option

Save pigoz/791451 to your computer and use it in GitHub Desktop.
def otool
puts self
%x[otool -L #{self}].each_line.grep(/\t(.*)/) do
$1.gsub(/(\(.*?\))/,'').strip
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment