hola_nicholas 0.2.1 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/hola_nicholas.rb +9 -0
  2. metadata +1 -1
data/lib/hola_nicholas.rb CHANGED
@@ -3,6 +3,15 @@
3
3
  require File.expand_path("../hola_nicholas/translator",__FILE__)
4
4
 
5
5
  class HolaNicholas
6
+ # Say hi Nicholas to the world!
7
+ #
8
+ # Example:
9
+ # >> Hola.hi("portuguese")
10
+ # => "E aí Nicholas!"
11
+ #
12
+ # Arguments:
13
+ # language: (String)
14
+
6
15
  def self.hi(language = "english")
7
16
  translator = Translator.new(language)
8
17
  puts translator.hi
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hola_nicholas
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.3.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: