lib/textbringer/modes/ruby_mode.rb in textbringer-0.3.0 vs lib/textbringer/modes/ruby_mode.rb in textbringer-0.3.1

- old
+ new

@@ -257,11 +257,11 @@ indentation += @buffer[:indent_level] end indentation end end - + BLOCK_END = { "{" => "}", "(" => ")", "[" => "]" } @@ -332,10 +332,10 @@ paths = Dir.glob(pattern) return paths.first if !paths.empty? end nil end - + class PartialLiteralAnalyzer < Ripper def self.in_literal?(src) new(src).in_literal? end