changed literal array syntax, as suggested by RuboCop

This commit is contained in:
Hauke Klement
2015-02-16 11:33:03 +01:00
parent 1068b18f41
commit 0bb5dae334
11 changed files with 15 additions and 15 deletions

View File

@ -1,6 +1,6 @@
module FileParameters
def file_attributes
%w[content context_id feedback_message file_id file_type_id hidden id name native_file path read_only role weight]
%w(content context_id feedback_message file_id file_type_id hidden id name native_file path read_only role weight)
end
private :file_attributes
end

View File

@ -5,7 +5,7 @@ module Lti
MAXIMUM_SCORE = 1
MAXIMUM_SESSION_AGE = 60.minutes
SESSION_PARAMETERS = %w[launch_presentation_return_url lis_outcome_service_url lis_result_sourcedid]
SESSION_PARAMETERS = %w(launch_presentation_return_url lis_outcome_service_url lis_result_sourcedid)
def build_tool_provider(options = {})
if options[:consumer] && options[:parameters]