-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Given a boundary initialized with an object instead of a hash inspect currently outputs all of the objects that were used to create the boundary (e.G @o= or @t=).
Current output:
<GuessTheNumber::UseCases::StartGame::Game:0x00007fa6d6871278 @o={:question=>#<Quizzes::Entities::Question:0x00007fa6d6871b60 @quiz_uid=62, @title="Guess the number!", @solution=862, @uid=62>}, @t=#<Quizzes::Entities::QuizRun:0x00007fa6d68712c8 @quiz_uid=62, @candidate_uid=1, @points=0, @tries=0, @current_question=#<Quizzes::Entities::Question:0x00007fa6d6871b60 @quiz_uid=62, @title="Guess the number!", @solution=862, @uid=62>, @current_question_uid=62, @uid=62>, @question=#<GuessTheNumber::UseCases::StartGame::Question:0x00007fa6d6871110 @o=nil, @t=#<Quizzes::Entities::Question:0x00007fa6d6871b60 @quiz_uid=62, @title="Guess the number!", @solution=862, @uid=62>>>Expected output:
<GuessTheNumber::UseCases::StartGame::Game:0x00007fa6d6871278 @o=nil, @t={:quiz_uid =>62, :candidate_uid=>1, :points=>0, :tries=>0, :question=>{:quiz_uid=62, :title=>"Guess the number!", :solution=>862, :uid=>62}>Shouldn't we remove those from inspection just like we remove @hash when the boundary was initialized with a hash?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels