Sha256: a171015ff76895aec013fefccd2ef428223f24146423125d9d7945a366461b80
Contents?: true
Size: 351 Bytes
Versions: 38
Compression:
Stored size: 351 Bytes
Contents
module Redcar class REPL class ReplCommand attr_reader :title,:description,:regex def initialize(title,regex,description,&block) @title = title @regex = regex @description = description @block = block end def call(match_data) @block.call match_data end end end end
Version data entries
38 entries across 38 versions & 2 rubygems