Skip to content

khanh-devos/gem-cruby

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GEM-CRUBY

📗 Table of Contents

📖 [gem-cruby]

Gem-cruby is a gem for implementing some of ruby methods operated underground by C computation or cRuby. This is for nothing except of my curiosity.

🛠 Built With

Tech Stack

Server

Key Features

  • Show totalram
  • Fibonacci sequence
  • Quick sort
  • Uppercase
  • Uptime
  • Loadavg

(back to top)

💻 Usage

  • INSTALLATION: gem install khanh
  require "khanh"

Specific Props

Methods Type Description
uptime string show the time since the boosting point of time
totalram string the total ram based on linux library sysinfo
loadavg string average of tasks done in 1, 5 & 15 minutes
10.bigFib array a Fibonacci sequence with length 10 (max 98)
Khanh::CRuby.bigFib 10 array a Fibonacci sequence with length 10 (max over 100)
"a1b2c".cUpcase string upper all the letters
Khanh.sort([array]) Array quick-sort ascending an array

(back to top)

👥 Authors

👤 Khanh

(back to top)

🔭 Future Features

  • Hash code
  • Puma Server
  • Multi-thread
  • Active Record
  • Action View

(back to top)

⭐️ Show your support

If you like this project give it a ⭐️

(back to top)

About

a ruby gem built with C extension with some methods.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published