module Unparser::Adamantium::InstanceMethods
Public Instance Methods
dup()
click to toggle source
A noop dup
for immutable objects
@return [self]
@api public
# File lib/unparser/adamantium.rb, line 14 def dup self end
freeze()
click to toggle source
Freeze the object
@return [Object]
@api public
Calls superclass method
# File lib/unparser/adamantium.rb, line 23 def freeze memoized_method_cache super() end
Private Instance Methods
memoized_method_cache()
click to toggle source
# File lib/unparser/adamantium.rb, line 30 def memoized_method_cache @memoized_method_cache ||= Memory.new({}) end