dynamoid
https://github.com/veraticus/dynamoid
Ruby ORM for Amazon's DynamoDB
PageLayoutHelper#page_description
Define or get a description for the current page
description - String (default: nil)
If this helper is called multiple times with an argument, only the last
description will be returned when called without an argument. Descriptions
have newlines replaced with spaces and all HTML tags are sanitized.
Examples:
page_description # => "GitLab Community Edition"
page_description("Foo")
page_description # => "Foo"
page_description("<b>Bar</b>\nBaz")
page_description # => "Bar Baz"
Returns an HTML-safe String.Edit
git clone [email protected]:veraticus/dynamoid.git
cd dynamoid
open
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-PageLayoutHelper-page_description-for-pr
# Commit to gitgit add git commit -m "better docs for PageLayoutHelper#page_description"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-PageLayoutHelper-page_description-for-pr
hub pull-request
# Celebrate!