Sha256: 2b41dc852ac6db553097434cfe95bc254dbdfaf044adf100d8190b7f74735ed5
Contents?: true
Size: 450 Bytes
Versions: 15
Compression:
Stored size: 450 Bytes
Contents
module DuckPuncher module Ducks module Module def local_methods instance_methods(false).concat constants(false) .map! { |c| const_get(c) } .keep_if { |c| c.respond_to?(:instance_methods) } .flat_map { |c| c.instance_methods(false) } .uniq end end end end
Version data entries
15 entries across 15 versions & 1 rubygems