Skip to content

Commit

Permalink
Merge pull request #2286 from BernhardDenner/rb_plugin_fix_readme
Browse files Browse the repository at this point in the history
Ruby plugin: fix docu for Ruby plugin
  • Loading branch information
markus2330 committed Oct 30, 2018
2 parents 7a01e09 + 6030bf5 commit 5affed8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions doc/news/_preparation_next_release.md
Expand Up @@ -241,6 +241,7 @@ you up to date with the multi-language support provided by Elektra.

- We fixed some minor spelling mistakes in the documentation. *(René Schwaiger)*
- The ReadMe now includes two badges that show the latest released version of Elektra and the status of the Travis build. *(René Schwaiger)*
- Fixed documenation error on Ruby plugin Readme. *(Bernhard Denner)*
- <<TODO>>
- Go into more detail in
[BUILDSERVER.md](https://master.libelektra.org/doc/BUILDSERVER.md).
Expand Down
5 changes: 3 additions & 2 deletions src/plugins/ruby/README.md
Expand Up @@ -53,7 +53,8 @@ Kdb::Plugin.define :somename do
# - -1 : error during initialization
def open(errorKey)

# generally it is save to simply throw an exception. This has the same
# perform plugin initialization
# if an error occurs it is save to simply throw an exception. This has the same
# semantic as returning -1
end

Expand Down Expand Up @@ -123,7 +124,7 @@ Kdb::Plugin.define :somename do
# - nil or 1 : on success
# 0 : on success with no action
# -1 : failure
def set(returned, parentKey)
def error(returned, parentKey)

end

Expand Down

0 comments on commit 5affed8

Please sign in to comment.