1
0
Fork 0
mirror of https://github.com/awesome-print/awesome_print synced 2023-03-27 23:22:34 -04:00

Roll back memoizing since they break the specs

This commit is contained in:
Mike Dvorkin 2010-04-03 21:37:13 -07:00
parent 8a34aa4581
commit 7e35764f3d

View file

@ -183,12 +183,12 @@ class AwesomePrint
#------------------------------------------------------------------------------
def indent
@indent ||= ' ' * @indentation
@indent = ' ' * @indentation
end
#------------------------------------------------------------------------------
def outdent
@outdent ||= ' ' * (@indentation - @options[:indent])
@outdent = ' ' * (@indentation - @options[:indent])
end
end