lib/tacky.rb in tacky-0.3.4 vs lib/tacky.rb in tacky-0.3.5
- old
+ new
@@ -33,10 +33,16 @@
# License:: MIT
class Tacky
undef_method :send
# Deep nesting will stop at these classes.
- STOP = [Numeric, NilClass, TrueClass, FalseClass, Array, Hash, Time].freeze
+ STOP = [
+ Numeric, NilClass,
+ TrueClass, FalseClass,
+ Array, Hash,
+ Time,
+ String
+ ].freeze
def initialize(origin, deep: true)
@origin = origin
@cache = {}
@deep = deep