mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
add require to suppress warning; remove variable
This commit is contained in:
parent
1e703f5d41
commit
4da888f384
2 changed files with 2 additions and 1 deletions
|
@ -1,4 +1,5 @@
|
|||
require 'bigdecimal'
|
||||
require 'bigdecimal/util'
|
||||
require 'yaml'
|
||||
|
||||
class BigDecimal
|
||||
|
|
|
@ -40,7 +40,7 @@ module Rails
|
|||
|
||||
def indent(content, multiplier = 2)
|
||||
spaces = " " * multiplier
|
||||
content = content.each_line.map {|line| line.blank? ? line : "#{spaces}#{line}" }.join
|
||||
content.each_line.map {|line| line.blank? ? line : "#{spaces}#{line}" }.join
|
||||
end
|
||||
|
||||
def wrap_with_namespace(content)
|
||||
|
|
Loading…
Reference in a new issue