Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Instance exec configure block if it takes no arguments #456

Merged
merged 2 commits into from
Nov 1, 2020

Conversation

shioyama
Copy link
Owner

@shioyama shioyama commented Nov 1, 2020

This makes configuring Mobility slightly simpler.

So while we continue supporting this format:

Mobility.configure do |config|
  config.plugins do
    # ...
  end
end

we also suppport this:

Mobility.configure do
  plugins do
    # ...
  end
end

@shioyama shioyama force-pushed the yield_to_configure_block branch from eb97ccb to 5ba8e2f Compare November 1, 2020 00:42
@shioyama shioyama merged commit 5305efe into master Nov 1, 2020
@shioyama shioyama deleted the yield_to_configure_block branch November 1, 2020 13:09
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.

1 participant