Skip to content

Instantly share code, notes, and snippets.

@michsch
Created March 10, 2015 18:00
Show Gist options
  • Save michsch/c876a01e576fb7e1de63 to your computer and use it in GitHub Desktop.
Save michsch/c876a01e576fb7e1de63 to your computer and use it in GitHub Desktop.
Test case for RuboCop Style/EmptyElse warning
- if Rails.env == 'development'
:css
.jw-non-functional {
box-shadow: 0 0 6px 4px rgba(255, 127, 80, .6);
}
- else
:css
.jw-non-functional {
display: none;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment