Created
May 6, 2016 13:53
-
-
Save klyonrad/ccc286de36c6d66b5e2c54584d99ae94 to your computer and use it in GitHub Desktop.
indoctrinatr-tools-snippet
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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