Skip to content

Instantly share code, notes, and snippets.

Octavian Neamtu oneamtu

Block or report user

Report or block oneamtu

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View gist:99106fa4ee856878ad10
def mapper(a)
b =! { |x| x.nil? }
c = [nil]
expect(mapper(c)).to eq([true]) # => true
expect(mapper(c)).to eq([true]) # => false
You can’t perform that action at this time.