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:
parent
8a34aa4581
commit
7e35764f3d
1 changed files with 2 additions and 2 deletions
|
@ -183,12 +183,12 @@ class AwesomePrint
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
def indent
|
def indent
|
||||||
@indent ||= ' ' * @indentation
|
@indent = ' ' * @indentation
|
||||||
end
|
end
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
def outdent
|
def outdent
|
||||||
@outdent ||= ' ' * (@indentation - @options[:indent])
|
@outdent = ' ' * (@indentation - @options[:indent])
|
||||||
end
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Reference in a new issue