/Vermelinho

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

Primary LanguageRubyMIT LicenseMIT

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