1
0
Fork 0
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:
Vipul A M 2013-04-04 01:02:08 +05:30
parent 1e703f5d41
commit 4da888f384
2 changed files with 2 additions and 1 deletions

View file

@ -1,4 +1,5 @@
require 'bigdecimal'
require 'bigdecimal/util'
require 'yaml'
class BigDecimal

View file

@ -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)