Permalink
Browse files

Indent when as much as case

  • Loading branch information...
1 parent 17b439d commit 2a19a35c5f38ba944612c0f411ba0a3564fdd3d7 @garethrees committed Jul 20, 2012
Showing with 4 additions and 4 deletions.
  1. +4 −4 lib/readingtime/core_ext.rb
@@ -7,10 +7,10 @@ def reading_time(options = {})
seconds = Readingtime.seconds(word_size)
case format_options
- when :basic
- Readingtime.format_seconds((minutes + seconds))
- when :long
- Readingtime.format_words((minutes + seconds))
+ when :basic
+ Readingtime.format_seconds((minutes + seconds))
+ when :long
+ Readingtime.format_words((minutes + seconds))
end
end

0 comments on commit 2a19a35

Please sign in to comment.