Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Nov 24, 2025. It is now read-only.

A collection of ruby snippets

License

NotificationsYou must be signed in to change notification settings

DevelopersToolbox/ruby-snippets

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

DevelopersToolbox logo
Github Build StatusLicenseCreated
ReleaseReleasedCommits 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

NameDescription
keep-max.rbPass in two numbers and keep the larger of the two.
keep-min.rbPass in two numbers and keep the smaller of the two.
seconds-to-hms.rbConvert seconds to hours, minute and seconds.

About

A collection of ruby snippets

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Sponsor this project

    Packages

    No packages published

    Contributors2

    •  
    •  

    Languages


    [8]ページ先頭

    ©2009-2025 Movatter.jp