Sha256: b63f2e01363c036f1cfd3ec551ef1b576b3830742c231076fd330c6c2fbdba2b
Contents?: true
Size: 372 Bytes
Versions: 1
Compression:
Stored size: 372 Bytes
Contents
class Navy::Captain::Speak < Navy::Speak def officers(officer_count = 1, *args, &block) options = args.last.is_a?(Hash) ? args.last : {} orders.set[:officer_count] = officer_count orders.set[:officer_job] = block_given? ? block : args[0] orders.set[:officer_fire_and_forget] = options[:fire_and_forget] if options.has_key?(:fire_and_forget) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
navy-1.1.2 | lib/navy/captain/speak.rb |