Skip to content
This repository has been archived by the owner on May 31, 2023. It is now read-only.

Convert octal to binary ruby #6215

Merged
merged 2 commits into from
Feb 10, 2023

Conversation

Fukurokudzu
Copy link
Contributor

Why:

Closes codinasion/codinasion#3408

What's being changed:

Converts octal number to binary

Comments:

There's much shorter variant with .to_s and .to_i methods, but it's non-obvious. I used more conservative approach and recursion for decimal to binary conversion.

@Fukurokudzu Fukurokudzu requested review from a team, anandfresh and harshraj8843 and removed request for a team February 9, 2023 15:17
@codinasion-bot
Copy link

codinasion-bot bot commented Feb 9, 2023

👋🏻 Hey @Fukurokudzu

💖 Thanks for opening this pull request 💖

This PR will be reviewed and merged shortly.

@codinasion-bot codinasion-bot bot added the triage Waiting for review label Feb 9, 2023
@vercel
Copy link

vercel bot commented Feb 9, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

2 Ignored Deployments
Name Status Preview Comments Updated
program-api ⬜️ Ignored (Inspect) Feb 9, 2023 at 3:18PM (UTC)
program-website ⬜️ Ignored (Inspect) Feb 9, 2023 at 3:18PM (UTC)

@anandfresh anandfresh merged commit 4eeef8d into codinasion:master Feb 10, 2023
@codinasion-bot
Copy link

Thanks very much for contributing!

Your pull request has been merged 🎉 You should see your changes appear on the site in approximately 24 hours.

Support this project by giving it a star ⭐.

Join Our Community

If you're looking for your next contribution, check out our help wanted issues

@codinasion-bot codinasion-bot bot removed the triage Waiting for review label Feb 10, 2023
NicholasCloud4 pushed a commit to NicholasCloud4/program that referenced this pull request Feb 10, 2023
* Closes #4515

* All helpers methods should be private
NicholasCloud4 added a commit to NicholasCloud4/program that referenced this pull request Feb 10, 2023
* Closes #4515

* All helpers methods should be private
anandfresh pushed a commit that referenced this pull request Feb 11, 2023
* Convert octal to binary ruby (#6215)

* Closes #4515

* All helpers methods should be private

* Convert octal to binary ruby (#6215)

* Closes #4515

* All helpers methods should be private

---------

Co-authored-by: Fukurokudzu <fukurokudzu@users.noreply.github.com>
anandfresh pushed a commit that referenced this pull request Feb 12, 2023
* Convert octal to binary ruby (#6215)

* Closes #4515

* All helpers methods should be private

* Convert octal to binary ruby (#6215)

* Closes #4515

* All helpers methods should be private

---------

Co-authored-by: Fukurokudzu <fukurokudzu@users.noreply.github.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants