Class Controller
In: lib/skel/leaves/scorekeeper/controller.rb
lib/skel/leaves/administrator/controller.rb
lib/skel/leaves/insulter/controller.rb
Parent: Autumn::Leaf

Controller and model for the Insulter leaf; maintains the list of insult substrings and chooses from them randomly.

Methods

Constants

ADJECTIVES = [ 'an artless', 'a bawdy', 'a beslubbering', 'a bootless', 'a churlish', 'a clouted', 'a cockered', 'a craven', 'a currish', 'a dankish', 'a dissembling', 'a droning', 'an errant', 'a fawning', 'a fobbing', 'a frothy', 'a froward', 'a gleeking', 'a goatish', 'a gorbellied', 'an impertinent', 'an infectious', 'a jarring', 'a loggerheaded', 'a lumpish', 'a mammering', 'a mangled', 'a mewling', 'a paunchy', 'a pribbling', 'a puking', 'a puny', 'a qualling', 'a rank', 'a reeky', 'a roguish', 'a ruttish', 'a saucy', 'a spleeny', 'a spongy', 'a surly', 'a tottering', 'an unmuzzled', 'a vain', 'a venomed', 'a villainous', 'a warped', 'a wayward', 'a weedy', 'a yeasty'
PARTICIPLES = [ 'base-court', 'bat-fowling', 'beef-witted', 'beetle-headed', 'boil-brained', 'clapper-clawed', 'clay-brained', 'common-kissing', 'crook-pated', 'dismal-dreaming', 'dizzy-eyed', 'doghearted', 'dread-bolted', 'earth-vexing', 'elf-skinned', 'fat-kidneyed', 'fen-sucked', 'flap-mouthed', 'fly-bitten', 'folly-fallen', 'fool-born', 'full-gorged', 'guts-griping', 'half-faced', 'hasty-witted', 'hedge-born', 'hell-hated', 'idle-headed', 'ill-breeding', 'ill-nurtured', 'knotty-pated', 'milk-livered', 'motley-minded', 'onion-eyed', 'plume-plucked', 'pottle-deep', 'pox-marked', 'reeling-ripe', 'rough-hewn', 'rude-growing', 'rump-fed', 'shard-borne', 'sheep-biting', 'spur-galled', 'swag-bellied', 'tardy-gaited', 'tickle-brained', 'toad-spotted', 'urchin-snouted', 'weather-bitten'
NOUNS = [ 'apple-john', 'baggage', 'barnacle', 'bladder', 'boar-pig', 'bugbear', 'bum-bailey', 'canker-blossom', 'clack-dish', 'clotpole', 'codpiece', 'coxcomb', 'death-token', 'dewberry', 'flap-dragon', 'flax-wench', 'flirt-gill', 'foot-licker', 'fustilarian', 'giglet', 'gudgeon', 'haggard', 'harpy', 'hedge-pig', 'horn-beast', 'hugger-mugger', 'joithead', 'lewdster', 'lout', 'maggot-pie', 'malt-worm', 'mammet', 'measle', 'minnow', 'miscreant', 'moldwarp', 'mumble-news', 'nut-hook', 'pigeon-egg', 'pignut', 'pumpion', 'puttock', 'ratsbane', 'scut', 'skainsmate', 'strumpet', 'varlet', 'vassal', 'wagtail', 'whey-face'

Public Instance methods

Displays information about the leaf.

Typing this command will display information about the version of Autumn that is running this leaf.

Suppress the !commands command; don‘t want to publicize the administrative features.

Insults the unfortunate argument of this command.

Displays the current point totals, or modifies someone‘s score, depending on the message provided with the command.

Typing this command will cause the Stem to exit.

Typing this command reloads all source code for all leaves and support files, allowing you to make "on-the-fly" changes without restarting the process. It does this by reloading the source files defining the classes.

If you supply the configuration name of a leaf, only that leaf is reloaded.

This command does not reload the YAML configuration files, only the source code.

[Validate]