Skip to content

Instantly share code, notes, and snippets.

@nevyn
Created August 7, 2010 16:31
Show Gist options
  • Save nevyn/512952 to your computer and use it in GitHub Desktop.
Save nevyn/512952 to your computer and use it in GitHub Desktop.
#!/usr/bin/env ruby
def method_missing(*stuff)
`#{stuff.join " "}`
end
def ll *a; ls "-la", *a end
puts ll dirname which "ls"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment