Sha256: 7dae8d3920843b22e8fbf89cf6b2e99d8b319efb6639e68a17dbc27877904eca
Contents?: true
Size: 348 Bytes
Versions: 159
Compression:
Stored size: 348 Bytes
Contents
class Pry class Command::Ls < Pry::ClassCommand class Grep def initialize(grep_regexp) @grep_regexp = grep_regexp end def regexp proc { |x| if x.instance_of?(Array) x.grep(@grep_regexp) else x =~ @grep_regexp end } end end end end
Version data entries
159 entries across 152 versions & 35 rubygems