bearddan2000 / ruby-cli-ugly-num-functional-prog

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ruby-cli-ugly-num-functional-prog

Description

Divide the number by greatest divisible powers of 2, 3 and 5, if the number becomes 1 then it is an ugly number otherwise not. Follows functional programming practices

Tech stack

  • ruby 2.4

Docker stack

  • alpine:latest

To run

sudo ./install.sh -u

To stop (optional)

sudo ./install.sh -d

For help

sudo ./install.sh -h

Credits

https://www.onlinegdb.com/online_ruby_compiler

About


Languages

Language:Shell 72.5%Language:Ruby 20.0%Language:Dockerfile 7.5%