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

rubyRefresher answers #79

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

tgavozzi
Copy link

Filled in challenge questions.

end
end

context "guess the type" do
it "Yes, it is a Object, but which" do
expect(:class.is_a? _fill_in_object_).to be true
expect(:class.is_a? (Symbol)).to be true
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The wrapping parentheses are unneeded here.

a_hash = {}
fail "remove this entire line, implement your solution here"
expect(a_hash.empty?).to be false
a_hash = {:item1 => 1}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think you were supposed to delete the first line: a_hash = {}. Instead, just change the fail line into something that adds one entry to a previously empty hash.

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