Jump to content

Accessing keyword parameter in Ruby

Recommended Posts

Yes, sorry, that's what I meant: how do I get hold of the value?


That depends on if you're writing the code in the Alfred editor or just running a script, similar to what you would do from the command line. In the Alfred editor window, you would just set a variable equal to {query}. When the script runs, {query} will be replaced by whatever is passed in

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...