Sha256: b5759db143884e427ec76111983e207888823cb7199776e10bca2b6807be9d7e
Contents?: true
Size: 271 Bytes
Versions: 2
Compression:
Stored size: 271 Bytes
Contents
#!/usr/bin/env ruby require 'optparse' require 'fake_smtp' options = {port: 2025} parser = OptionParser.new do |opts| opts.on("-p N", "--port N", Float, "Listen on port") do |n| options[:port] = n.to_i end end parser.parse! FakeSmtp::Server.new(options).run
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
fake_smtp-0.0.2 | bin/fake_smtp |
fake_smtp-0.0.1 | bin/fake_smtp |