DEV Community

Discussion on: Daily Challenge #40 - Counting Sheep

Collapse
 
jamespotz profile image
James Robert Rooke

My solution in ruby

Collapse
 
jeddevs profile image
Theo

Nice!
Trusty repl.it
Had no idea you could embed that,
how do you do that if you don't mind my asking?

Collapse
 
jamespotz profile image
James Robert Rooke

Basically, you should add your '@username/replit_name' inside

{% replit [here] %}

See dev.to/p/editor_guide for more options.

Collapse
 
thepeoplesbourgeois profile image
Josh

What about a range?

Collapse
 
jamespotz profile image
James Robert Rooke

Oh, yeah.

(1..num)

Forgot about range.