Longnt80

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

    Rubymine doesn't understand Struct

    Answered
    I have this code:```RecordResult = Struct.new(:success?, :expense_id, :error_message)```and somewhere I use it like this:```RecordResult.new(true, 417, nil)```I got this error:  Click on “Go to typ...
    • 2 followers
    • 1 comment
    • 0 votes