Sha256: 038855f560718e70baf195f625e11320c68a6a2a13417822965971ba2c18984e
Contents?: true
Size: 356 Bytes
Versions: 8
Compression:
Stored size: 356 Bytes
Contents
module SimpleCommander def configure(*configuration_opts, &configuration_block) configuration_module = Module.new configuration_module.extend SimpleCommander::Methods configuration_module.class_exec(*configuration_opts, &configuration_block) configuration_module.class_exec do run! end end module_function :configure end
Version data entries
8 entries across 8 versions & 1 rubygems