Class: Reap::Hosts::RubyTalk

Inherits:
Mailinglist show all
Defined in:
lib/reap/hosts/rubytalk.rb

Overview

Rubytalk

This is a Maklinglist host. It simply statically sets the [email protected] email address and passes on to it’s superclass.

Constant Summary collapse

EMAIL_ADDRESS =
'[email protected]'

Instance Attribute Summary

Attributes inherited from Tool

#project

Instance Method Summary collapse

Methods inherited from Mailinglist

#announce_options

Methods inherited from Host

factory, inherited, #inspect, register, registry, #release_confirm?

Methods inherited from Tool

#debug?, #dryrun?, #force?, from_project, #initialize, #metadata, #trace?, #verbose?

Methods included from Utilities

#ask, #bin?, #cd, #command_paths, #compress, #dir!, #dir?, directory!, directory?, #email, exist!, exist?, #exists!, #exists?, #file!, #file?, #fileutils, #glob, #list_option, #multiglob, #multiglob_r, #out_of_date?, #password, path!, path?, #read, #rm_r, #safe?, #sh, #stage, #stage_manifest, #status, #write, #ziputils

Constructor Details

This class inherits a constructor from Reap::Tool

Instance Method Details

#announce(options) ⇒ Object

This sets the mailto address and passes on to the super class.

See Mailinglist#announce.



24
25
26
27
28
# File 'lib/reap/hosts/rubytalk.rb', line 24

def announce(options)
  options = options.rekey(&:to_s)
  options['mailto'] = EMAIL_ADDRESS
  super(options)
end

#announce_confirm?(options = {}) ⇒ Boolean

Returns:

  • (Boolean)


30
31
32
33
34
# File 'lib/reap/hosts/rubytalk.rb', line 30

def announce_confirm?(options={})
  options = options.rekey(&:to_s)
  options['mailto'] = EMAIL_ADDRESS
  super(options)
end