Sha256: e5162cace922fd63121be95315f72d77e7eb254e5c5f1f0c36652132bee6e5b5
Contents?: true
Size: 359 Bytes
Versions: 28
Compression:
Stored size: 359 Bytes
Contents
module PDoc module Models class ClassMethod < Entity include Callable attr_accessor :methodized_self def attach_to_parent(parent) parent.class_methods << self end def to_hash m = methodized_self super.merge({ :methodized_self => m ? m.id : nil }) end end end end
Version data entries
28 entries across 28 versions & 2 rubygems