Skip to content

Commit

Permalink
Rubocop says so
Browse files Browse the repository at this point in the history
  • Loading branch information
paresharma committed Mar 26, 2015
1 parent b9512c9 commit b50168d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/scorm_rte/lms/sco.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@ module ScormRte
module Lms
class Sco
def initialize(sco_instance_id: nil)
unless sco_instance_id.present?
fail NoScoInstanceIdError
end
fail NoScoInstanceIdError unless sco_instance_id.present?
@sco_instance_id = sco_instance_id
end

Expand Down

0 comments on commit b50168d

Please sign in to comment.