Sha256: 29cfe42b6d24f56bad3a7150192492a71ef60bdcf84064c9399bd4ca63ca2b89
Contents?: true
Size: 289 Bytes
Versions: 11
Compression:
Stored size: 289 Bytes
Contents
class Navy::Admiral::Speak < Navy::Speak def before_exec(*args, &block) set_hook(:before_exec, block_given? ? block : args[0], 1) end def captain(label, *args, &block) orders.set[:captains] ||= {} orders.set[:captains][label] = block_given? ? block : args[0] end end
Version data entries
11 entries across 11 versions & 1 rubygems