lib/helium/console/formatters/indent.rb in helium-console-0.1.7 vs lib/helium/console/formatters/indent.rb in helium-console-0.1.8
- old
+ new
@@ -1,14 +1,16 @@
+# frozen_string_literal: true
+
module Helium
class Console
module Formatters
class Indent
def initialize(indent)
@indent = indent
end
def call(string)
- string.lines.map {|line| ' ' * @indent + line }.join
+ string.lines.map { |line| ' ' * @indent + line }.join
end
end
end
end
end