Skip to content

Instantly share code, notes, and snippets.

@bradylove
Created November 27, 2012 04:55
Show Gist options
  • Select an option

  • Save bradylove/4152463 to your computer and use it in GitHub Desktop.

Select an option

Save bradylove/4152463 to your computer and use it in GitHub Desktop.
docr String do
doc :to_s do
description "Hello World!"
path "/sessions/:id/string"
arguments public_name: "Description of public name",
initial_value: "Description of initial value"
example do
puts "some_string".to_s
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment