Sha256: 069379420e86ca8d59034e7d5ab881386f147f907ce784debc79b241a1992043
Contents?: true
Size: 377 Bytes
Versions: 28
Compression:
Stored size: 377 Bytes
Contents
module PDoc module Models class InstanceMethod < Entity include Callable attr_accessor :functionalized_self def attach_to_parent(parent) parent.instance_methods << self end def to_hash f = functionalized_self super.merge({ :functionalized_self => f ? f.id : nil }) end end end end
Version data entries
28 entries across 28 versions & 2 rubygems