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

sources and yard_doc use syntax incompatible with ruby 2.0+ #24

Open
dannypurcell opened this issue Oct 29, 2014 · 0 comments
Open

sources and yard_doc use syntax incompatible with ruby 2.0+ #24

dannypurcell opened this issue Oct 29, 2014 · 0 comments
Labels

Comments

@dannypurcell
Copy link
Owner

I have not found the reason for it yet but it seems Ruby 2+ no longer interprets bare if statements correctly when used as a value within a literal map.

In order to support Ruby 2.0+ the if blocks at the following locations must be wrapped in parens
/Users/dp025224/.rvm/gems/ruby-2.1.3/gems/rubycom-0.4.3/lib/rubycom/yard_doc.rb:43

/Users/dp025224/.rvm/gems/ruby-2.1.3/gems/rubycom-0.4.3/lib/rubycom/sources.rb:41

Until this fix is in place rubycom may be used with 1.9.3 to work around the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant