Skip to content

Instantly share code, notes, and snippets.

@klyonrad
Created May 6, 2016 13:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save klyonrad/ccc286de36c6d66b5e2c54584d99ae94 to your computer and use it in GitHub Desktop.
Save klyonrad/ccc286de36c6d66b5e2c54584d99ae94 to your computer and use it in GitHub Desktop.
indoctrinatr-tools-snippet
if fieldnames_creator.pdf_exists?
include_fieldnames = true
else
include_fieldnames = if fieldnames_creator.call
# More user information and for testing
puts 'INFO: Example with field names has been automatically generated for the documentation'
true
else
puts 'ERROR: Example with field names could not be created and is not included in documentation'
false
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment