Module: Gossip
- Included in:
- Preteen
- Defined in:
- lib/gossip.rb,
lib/gossip/crony.rb,
lib/gossip/command.rb,
lib/gossip/preteen.rb,
lib/gossip/version.rb,
lib/gossip/cronies/smtp.rb,
lib/gossip/cronies/trac.rb,
lib/gossip/cronies/jabber.rb,
lib/gossip/cronies/stdout.rb,
lib/gossip/cronies/twitter.rb,
lib/gossip/social-universe.rb,
lib/gossip/cronies/campfire.rb,
lib/gossip/multi-exceptions.rb
Overview
Created by Brian Marick on 2007-09-17.
Copyright (c) 2007. All rights reserved.
Defined Under Namespace
Classes: CampfireCrony, Crony, GossipCommand, JabberCrony, MultiException, Preteen, SmtpCrony, StdoutCrony, TracCrony, TwitterCrony
Constant Summary collapse
- Version =
'0.3.2'
- CronyMaker =
{}
Instance Method Summary collapse
-
#when_not_TOTALLY_out_of_the_social_scene(crony, &crony_maker) ⇒ Object
Syntactic sugar to associate a symbol naming a Crony subclass with a block that knows how to load that class and create an object from it.
Instance Method Details
#when_not_TOTALLY_out_of_the_social_scene(crony, &crony_maker) ⇒ Object
Syntactic sugar to associate a symbol naming a Crony subclass with a block that knows how to load that class and create an object from it. The symbol must be one returned by Crony#symbol.
14 15 16 |
# File 'lib/gossip/social-universe.rb', line 14 def (crony, &crony_maker) CronyMaker[crony] = crony_maker end |