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

Problem with opening parentheses #5

Closed
halilim opened this issue Oct 13, 2015 · 1 comment
Closed

Problem with opening parentheses #5

halilim opened this issue Oct 13, 2015 · 1 comment

Comments

@halilim
Copy link

halilim commented Oct 13, 2015

'LOREM ( IPSUM)'.titleize
/Users/halil/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/turkish_support-1.0.0/lib/turkish_support/helpers.rb:28:in `prepare_for': Invalid arguments for method `prepare_for`! (ArgumentError)
    from /Users/halil/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/turkish_support-1.0.0/lib/turkish_support/helpers.rb:67:in `prepare_for_capitalize'
    from /Users/halil/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/turkish_support-1.0.0/lib/turkish_support/helpers.rb:31:in `call'
    from /Users/halil/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/turkish_support-1.0.0/lib/turkish_support/helpers.rb:31:in `prepare_for'
    from /Users/halil/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/turkish_support-1.0.0/lib/turkish_support/string_methods.rb:19:in `block (3 levels) in <module:TurkishSupport>'
    from /Users/halil/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/turkish_support-1.0.0/lib/turkish_support/string_methods.rb:30:in `block in titleize'
    from /Users/halil/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/turkish_support-1.0.0/lib/turkish_support/string_methods.rb:25:in `map'
    from /Users/halil/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/turkish_support-1.0.0/lib/turkish_support/string_methods.rb:25:in `titleize'
    from test.rb:9:in `hey'
    from test.rb:13:in `<main>'
'( '.titleize # => <The same error>
'('.titleize # => <The same error>
'LOREM (IPSUM)'.titleize # => Lorem (Ipsum)
@sbagdat
Copy link
Owner

sbagdat commented Oct 13, 2015

@halilim Thanks for reporting ❤️

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

No branches or pull requests

2 participants