Михаил Бринчук

Avatar
  • Total activity 5
  • Last activity
  • Member since
  • Following 0 users
  • Followed by 0 users
  • Votes 2
  • Subscriptions 1
  • Edited

    Add @raise annotation to gem's method

    Answered
    Hi! How do I tell to Rubymine that some external method throws an error?   Say I have such code: user = User.find(id)unless user invalid!() # it's a method from Tzu gem that raises an errorendputs...
    • 2 followers
    • 2 comments
    • 1 vote