From ca3f15f8bb1b23e12bbe0baedaf2c381c466d36b Mon Sep 17 00:00:00 2001 From: Kornelius Kalnbach Date: Sat, 13 Feb 2016 10:35:50 +0100 Subject: remove whitespace --- lib/coderay/scanners/css2.rb | 4 ---- lib/coderay/scanners/java_script5.rb | 4 ---- lib/coderay/scanners/json5.rb | 4 ---- lib/coderay/scanners/lua2.rb | 4 ---- 4 files changed, 16 deletions(-) (limited to 'lib/coderay/scanners') diff --git a/lib/coderay/scanners/css2.rb b/lib/coderay/scanners/css2.rb index edb9ca3..4b20b79 100644 --- a/lib/coderay/scanners/css2.rb +++ b/lib/coderay/scanners/css2.rb @@ -91,15 +91,11 @@ module Scanners state = states.last until eos? - case state - #{ @code.chomp.gsub(/^/, ' ') } else raise_inspect 'Unknown state: %p' % [state], encoder - end - end if options[:keep_state] diff --git a/lib/coderay/scanners/java_script5.rb b/lib/coderay/scanners/java_script5.rb index 6857662..bee1b26 100644 --- a/lib/coderay/scanners/java_script5.rb +++ b/lib/coderay/scanners/java_script5.rb @@ -146,15 +146,11 @@ module Scanners states = [state] until eos? - case state - #{ @code.chomp.gsub(/^/, ' ') } else raise_inspect 'Unknown state: %p' % [state], encoder - end - end if options[:keep_state] diff --git a/lib/coderay/scanners/json5.rb b/lib/coderay/scanners/json5.rb index 2b2dbdd..3b5b159 100644 --- a/lib/coderay/scanners/json5.rb +++ b/lib/coderay/scanners/json5.rb @@ -54,15 +54,11 @@ module Scanners states = [state] until eos? - case state - #{ @code.chomp.gsub(/^/, ' ') } else raise_inspect 'Unknown state: %p' % [state], encoder - end - end if options[:keep_state] diff --git a/lib/coderay/scanners/lua2.rb b/lib/coderay/scanners/lua2.rb index 866dded..4b99a44 100644 --- a/lib/coderay/scanners/lua2.rb +++ b/lib/coderay/scanners/lua2.rb @@ -150,15 +150,11 @@ module Scanners states = [state] until eos? - case state - #{ @code.chomp.gsub(/^/, ' ') } else raise_inspect 'Unknown state: %p' % [state], encoder - end - end if options[:keep_state] -- cgit v1.2.1