Skip to content
Browse files

Refactorting to single line

  • Loading branch information...
1 parent dd239fd commit 29a55d0de4d9f73d0e30bb287211da79e138f4d0 Kurtis Rainbolt-Greene committed Jan 8, 2012
Showing with 1 addition and 4 deletions.
  1. +1 −4 lib/rocco.rb
View
5 lib/rocco.rb
@@ -110,10 +110,7 @@ def initialize(filename, sources=[], options={})
# into the comment_char syntax (we'll discuss that syntax in detail when
# we get to `generate_comment_chars()` in a moment.
else
- @options[:comment_chars] = {
- :single => @options[:comment_chars],
- :multi => nil
- }
+ @options[:comment_chars] = { :single => @options[:comment_chars], :multi => nil }
end
# Turn `:comment_chars` into a regex matching a series of spaces, the

0 comments on commit 29a55d0

Please sign in to comment.
Something went wrong with that request. Please try again.