lib/roadie/errors.rb in roadie-5.2.0 vs lib/roadie/errors.rb in roadie-5.2.1
- old
+ new
@@ -21,11 +21,13 @@
cause_message = if cause
" Caused by: #{cause}"
else
""
end
- super "Cannot use path \"#{given_path}\" in URL generation.#{cause_message}"
+ super(
+ "Cannot use path \"#{given_path}\" in URL generation.#{cause_message}"
+ )
end
end
# Raised when an asset provider cannot find a stylesheet.
#
@@ -45,10 +47,10 @@
def initialize(css_name:, message: nil, provider: nil)
@css_name = css_name
@provider = provider
@extra_message = message
- super build_message
+ super(build_message)
end
protected
def error_row