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

Bugfix: NoMethodError: undefined method `<' for nil:NilClass #37

Merged
merged 1 commit into from
Dec 29, 2014

Conversation

tarebyte
Copy link
Contributor

When I run

GeoPattern.generate('How do I get started', :color => '#7A3332')

I get the following error

NoMethodError: undefined method `<' for nil:NilClass
from /opt/boxen/rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/geo_pattern-1.3.0/lib/geo_pattern/pattern_generator.rb:87:in `generate_pattern'

This PR fixes the issue for me, let me know if you want any changes.

Thanks!

@jasonlong
Copy link
Owner

Nice catch. Thx @tarebyte. 👍

jasonlong pushed a commit that referenced this pull request Dec 29, 2014
Bugfix: NoMethodError: undefined method `<' for nil:NilClass
@jasonlong jasonlong merged commit cf638e9 into jasonlong:master Dec 29, 2014
@tarebyte tarebyte deleted the fix-nil-error branch December 30, 2014 00:04
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