Sha256: 5b95d695a613ac87d8b0f4701e83311a3cdb4e06a43389f0201a456f37cabb39
Contents?: true
Size: 360 Bytes
Versions: 174
Compression:
Stored size: 360 Bytes
Contents
module Pry::Command::Ls::Interrogatable private def interrogating_a_module? Module === @interrogatee end def interrogatee_mod if interrogating_a_module? @interrogatee else singleton = Pry::Method.singleton_class_of(@interrogatee) singleton.ancestors.grep(::Class).reject { |c| c == singleton }.first end end end
Version data entries
174 entries across 167 versions & 40 rubygems