lib/minjs/ecma262/st.rb in minjs-0.2.0 vs lib/minjs/ecma262/st.rb in minjs-0.2.1
- old
+ new
@@ -277,13 +277,9 @@
@cond = cond
@then_st = then_st
@else_st = else_st
end
- def deep_dup
- self.class.new(@cond.deep_dup, @then_st.deep_dup, @else_st.deep_dup)
- end
-
def replace(from, to)
if from .eql? @cond
@cond = to
elsif from .eql? @then_st
@then_st = to