Skip to content

⚙️ Hands on with Ruby, gems and GitHub actions!

License

Notifications You must be signed in to change notification settings

sylhare/Vermelinho

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vermelinho

Vermilinho unit test vermelinho Ruby Gem

A simple gem example from How to make your own gem💎 Hands on ruby.

Get started

In the interactive shell:

% irb -Ilib -rvermelinho
irb(main):001:0> Vermelinho.hi("english")
=> "hello world"
irb(main):002:0> Vermelinho.hi("spanish")
=> "hola mundo"

You can quit the shell with exit. Use the bin:

% ruby -Ilib ./bin/vermelinho
"🤷‍️"

% ruby -Ilib ./bin/vermelinho spanish
"hola mundo"

Tests

Run the tests with:

rake test

Build gem

Build the gem

gem build *.gemspec

About

⚙️ Hands on with Ruby, gems and GitHub actions!

Topics

Resources

License

Stars

Watchers

Forks

Languages