Skip to content

Conversation

@noahpatterson
Copy link
Contributor

No description provided.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can set a default value for a hash.fetch -- so you could do the following. If there's a name, it'll use it. Otherwise, use an address.

p.name = options.fetch(:name, address)

@jwo
Copy link
Member

jwo commented Jan 27, 2014

Superb job!

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't know if you edit videos post production, but I was beginning to hit some Query limits when running tests and the benchmark. I had to make these stubs to get it to work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants