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

Implementation of Hash and Regexp #23

Merged
merged 5 commits into from
Sep 29, 2023
Merged

Implementation of Hash and Regexp #23

merged 5 commits into from
Sep 29, 2023

Conversation

m3m0r7
Copy link
Owner

@m3m0r7 m3m0r7 commented Sep 28, 2023

supports:

obj = { a: :symbol, b: 1234, c: 'Hello World!' }

puts obj[:a]
puts obj[:b]
puts obj[:c]

supports:

str = "This is Regexp"
if /was Regexp/ =~ str
  puts "matched!"
else
  puts "unmatched!"
end

@m3m0r7 m3m0r7 merged commit 9a1728f into main Sep 29, 2023
2 checks passed
@m3m0r7 m3m0r7 deleted the add-object-and-regexp branch September 29, 2023 04:42
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.

1 participant