48
Ruby gem for finding weekday of a date
I have created my first ruby gem named DayFinder
This gem is useful if you want to find the weekday of given date
Example:-
require 'DayFinder'
day=DayFinder.find 15,8,1947
puts day
#output
# Friday
You have to provide the date as d-m-Y
format.
So do you want to give it a try ?
Install and try now
gem 'DayFinder'
And then execute:
$ bundle install
Or install it yourself as:
$ gem install DayFinder
The Github Repo:https://github.com/freakflames29/DayFinder
Rubgems.org:- https://rubygems.org/gems/DayFinder
48