Skip to content

DevelopersToolbox/ruby-snippets

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DevelopersToolbox logo
Github Build Status License Created
Release Released Commits since release

Overview

This is a collection of useful(ish) Ruby snippets. The snippets are all simple self-contained pieces of code (a class or subroutine), but non of them are large enough to require having a repository in their own right.

Ruby Snippets

Name Description
keep-max.rb Pass in two numbers and keep the larger of the two.
keep-min.rb Pass in two numbers and keep the smaller of the two.
seconds-to-hms.rb Convert seconds to hours, minute and seconds.

About

A collection of ruby snippets

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Sponsor this project

  •  
  •  

Packages

No packages published

Languages