Skip to content

Commit

Permalink
doc: add documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
meleu committed May 5, 2024
1 parent 514fdf8 commit da23a9c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
5 changes: 3 additions & 2 deletions hello_meleu.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,14 @@ Gem::Specification.new do |s|
s.authors = ['meleu']
s.files = ['lib/hello_meleu.rb']
s.summary = 'Greeting meleu'
s.version = '0.0.2'
s.version = '0.0.3'

s.homepage = 'https://github.com/meleu/hello_meleu'
s.metadata = {
'bug_tracker_uri' => "#{s.homepage}/issues",
'changelog_uri' => "#{s.homepage}/releases",
'wiki_uri' => "#{s.homepage}/wiki",
'source_code_uri' => s.homepage
'source_code_uri' => s.homepage,
'documentation_uri' => 'https://www.rubydoc.info/gems/hello_meleu'
}
end
7 changes: 7 additions & 0 deletions lib/hello_meleu.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
# Class used to greet meleu with "hello".
#
# @examples
# HelloMeleu.hello #=> "Hello meleu!"
class HelloMeleu
# Greets meleu with "hello".
#
# @return [String] "Hello meleu!"
def self.hello
'Hello meleu!'
end
Expand Down

0 comments on commit da23a9c

Please sign in to comment.