new gem published


(Raj Kumar Sharma) #1

My dear open source members,

I make a gem and published as, seniority on rubygems site. Actually the purpose of this gem is to find age till today date based on input DOB.
Input: 1989-08-30 (YYYY-MM-DD)
Output: [“6-6-28", "6 day(s) 6 month(s) 28 year(s)”] ( [“m-d-y”, “XXX day(s) xxx month(s) xxx year(s)”])

This is my first gem that I could be able to give my open source community. Please check it out and suggest any change/feature required.

Thanks

Raj Kumar


(Steve Turczyn) #2

Congrats on your first gem!

I notice this line appears twice?

elsif @dob_year.to_i <= 0

Cheers

My dear open source members,

I make a gem and published as, sen iority on rubygems site. Actually the purpose of this gem is to find age till today date based on input DOB.

Input: 1989-08-30 (YYYY-MM-DD)

Output: [“6-6-28", "6 day(s) 6 month(s) 28 year(s)”] ( [“m-d-y”, “XXX day(s) xxx month(s) xxx year(s)”])

This is my first gem that I could be able to give my open source community. Please check it out and suggest any change/feature required.

ThanksRaj Kumar

Unsubscribe: mailto:ruby-talk-request@ruby-lang.org?subject=unsubscribe

<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-talk>

···

Sent from BlueMail On 5 Mar 2018, at 22:49, Raj Kumar Sharma raj4057kumar@gmail.com wrote:


(Raj Kumar Sharma) #3

Thanks Steve! Changes done and pushed.

Thanks
Raj Kumar

···

On Tue, Mar 6, 2018 at 4:47 AM, Steve Turczyn steve@turczyn.co.uk wrote:

Congrats on your first gem!

I notice this line appears twice?

elsif @dob_year.to_i <= 0

Cheers

Sent from BlueMail On 5 Mar 2018, at 22:49, Raj Kumar Sharma raj4057kumar@gmail.com wrote:

My dear open source members,

I make a gem and published as, sen iority on rubygems site. Actually the purpose of this gem is to find age till today date based on input DOB.

Input: 1989-08-30 (YYYY-MM-DD)

Output: [“6-6-28", "6 day(s) 6 month(s) 28 year(s)”] ( [“m-d-y”, “XXX day(s) xxx month(s) xxx year(s)”])

This is my first gem that I could be able to give my open source community. Please check it out and suggest any change/feature required.

ThanksRaj Kumar

Unsubscribe: mailto:ruby-talk-request@ruby-lang.org?subject=unsubscribe

<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-talk>

Unsubscribe: mailto:ruby-talk-request@ruby-lang.org?subject=unsubscribe

<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-talk>