method
inline_base64
v5.2.3 -
Show latest stable
- Class:
ActionDispatch::SystemTesting::TestHelpers::ScreenshotHelper
inline_base64(path)private
No documentation available.
# File actionpack/lib/action_dispatch/system_testing/test_helpers/screenshot_helper.rb, line 82
def inline_base64(path)
Base64.encode64(path).gsub("\n", "")
end