Module: Babbler
- Defined in:
- lib/babbler.rb,
lib/babbler/words.rb,
lib/babbler/version.rb
Defined Under Namespace
Classes: Configuration
Constant Summary collapse
- ADJECTIVES =
%w( all about one some out just like other then two more first new here many well only very even back any good through down after world over still last three state high most another much own old mean great same big group country every part such few each right play small off live next large million must home under national young different business side kind four head far black long both little important away power game often political bad meet set later community five once white least real minute best several ago social together public read level sure war party open morning low early air enough across second toward able human cut behind local six late hard else pass former major better economic strong possible light whole free military less according road true federal international building full model record paper special ground official center hit base star half easy clear land recent patient test certain north personal third baby red difficult billion chance brother summer hundred available likely short choice single south congress material medical close thousand current future wrong west sport subject private deal top past foreign color store sound fine near common poor natural significant similar hot dead animal east seven stock central eight happy size serious ready sign individual simple quality left whatever degree attack pretty trade physical lay general feeling standard outside forward present environmental sister financial ten blue democratic dark various executive entire legal religious cold final main green above nice trial expert spring firm radio huge popular traditional cultural wide fly particular bit inside adult deep edge specific necessary middle sea bar beautiful heavy tough surface skin ahead commercial beat total modern positive civil shot safe capital score interesting rich western front born senior key professional fast alone successful participant southern fresh global critical concerned effective original basic plane refer powerful perfect nine involved nuclear camp afternoon dozen beginning sorry complete normal stone wood mountain supposed winter sales resident gold farm potential independent district express willing previous interested wild understanding average quick bright guest tiny collect additional living folk fit worth associate warm annual responsible regular spread soft review cross afraid quarter native broad wonderful growing grade quiet dress aware neighbor bone active chief cool dangerous moral academic healthy negative following historical grab direct daily fair famous familiar appropriate eastern primary bottom clean lean plastic tall otherwise alive chicken shut extra welcome domestic northern dry sweet fourth salt metal fat corporate strange urban mental educational favorite enemy greatest complex scientific impossible meaning married weather presidential emotional thin straight okay empty regional novel jury union expensive yellow prime regulation county obvious thinking comfortable angry hearing thick emergency unique internal ethnic content select root actual setting sick component slow brown pilot funny correct blame due crazy ancient golden used equal typical conservative smart variable secret rare bond master fun separate industrial stretch surprised busy cheap welfare vegetable gray opening overall initial terrible contemporary multiple essential criminal careful upper rush tired vast household fewer apart representative incident limited proud increased waste mass bomb enormous liberal massive rural narrow cream solid useful characteristic milk cast unusual sharp creative lower proper guilty technical plus weak illegal alternative signal twenty spiritual musical suspect warning graduate dramatic excellent lucky unable initiative diet sad brief post existing regarding remaining visual violent silent self inform immediate opponent leading saving desert double print formal joint opposite consistent grand racial elect glad ordinary numerous iron practical volunteer amazing intense advance shock visible competitive congressional boss fundamental severe digital usual psychological peak increasing round holy twin constant veteran capable nervous tourist crucial objective electronic pure fellow smooth nearby designer relative silver retirement inner junior permanent unlike wet pan secure pink buck historic fifth apparent sensitive reasonable wooden elementary aggressive false extreme quit honest respondent giant substantial pop specialist conventional shell biological deputy flat mad utility armed clinical routine activist incorporate hip ultimate switch valuable minor developing classic chemical teen extraordinary rough pregnant distant satellite chocolate universal rank super found cheek lost unlikely constitutional cabinet broken electric literary stupid strategic assistant overcome remarkable blind port genetic latter incentive slave accurate elite olympic dirt odd tight solar square complicated champion strip friendly tremendous innocent remote raw surprising mutual advanced attractive diverse relevant ideal working unknown counter thirty crash terrorist extensive loose considerable prior intellectual assault external proof confident sudden dirty defensive net comprehensive prominent regardless stable pretend elderly split violate steady vital mere exciting radical honey correspondent pale ill vulnerable scared ongoing athletic slight tail custom fifteen efficient closer crack psychologist wealthy given ski incredible rapid painful infant fifty rid uniform helpful organic proposed sophisticated standing asleep controversial desperate loud sufficient narrative modest agricultural curious downtown prompt eager principal detailed restriction romantic motor jet orange temporary brilliant absolute offensive dominant hungry legitimate wound dependent institutional operating civilian twelve weekly wise acid gifted medium shore running distinct artistic fighting impressive ugly worried moderate subsequent continued cooking frequent awful pet widespread lovely everyday adequate piano blanket concrete prescription brick changing colonial dear sacred cognitive collective exact homeless defendant grave toe abroad rose anniversary adolescent upset gentle related concerning northwest ritual magic superior acceptable continuous log excited compound integrate bitter bare rent subtle drinking evil pleased medal ethical secondary experimental evident harsh closet suburban interior retail classical estimated fold reverse missing flash reliable occasional administrative deadly monthly initiate sixth bay mainstream longtime legislative plain strict burst inevitable southwest unexpected overwhelming crystal written motive flood maximum outdoor broadcast random walking minimum fiscal uncomfortable continuing chronic peaceful retired grateful virtual indigenous closed convict prize weird freshman outer drunk southeast intelligent convinced driving endless mechanical forty profound reserve genuine horrible behavioral exclusive meaningful technological pleasant rebel frozen fluid theoretical delicate electrical detective dedicate invisible mild identical precise anxious structural residential nonprofit handsome promising conscious teenage decent oral generous purple bold reluctant starting eating recipient flip bias judicial suffering regulatory diplomatic elegant chin casual intent isolate productive civic steep alien dynamic scary disappointed precious realistic hidden tender gathering outstanding lonely artificial abstract silly shared revolutionary romance continent ruling fool rear coastal burning verbal tribal ridiculous automatic divine elder pro invitation talented stiff extended toxic alleged mysterious bow parental seventh protective faint northeast shallow improved bloody associated lane optimistic costume statute symbolic hostile combined mixed opposed tropical calm spectacular sheer immune bush exotic fascinating bull ideological secular intimate documentary neutral flexible progressive terrific functional instinct aluminum cooperative tragic mechanic underlying eleven costly ambitious influential uncertain statistical metropolitan rolling aesthetic expected royal minimal anonymous instructional equivalent fixed experienced irony cute rival passing known shed liquid foster encouraging accessible upstairs dried alike dam surrounding ecological unprecedented preliminary patent shy disabled gross damn frontier oak eighth innovative vertical swimming fleet instant worldwide required colorful organizational textbook nasty emerging fierce rational vocal unfair risky depressed closest breathing supportive informal pat perceived sole partial added sneak excessive logical blank mineral dying developmental spare halfway striking embarrassed isolated suspicious eligible demographic chill intact peanut elaborate comparable scratch awake feminist dumb bulk philosophical municipal neat mobile brutal voluntary valid dancing unhappy coming distinctive straw theological fragile crowded overnight rental fantastic suitable cruel loyal rubber favorable integrated premium fatigue blond marble explicit disturbing magnetic devastating neighboring consecutive republican coordinate nutrient brave frustrate articulate dense sunny swell compelling troubled twentieth balanced flying sustainable skilled managing marine organized boring sometime summary epidemic fatal trim bronze inherent nationwide selected manual naval )
- NOUNS =
%w( and have you say but she can who get all make know will one time there year think when people take out see now like how then two more want way look first day use find here thing give many well tell even back good life child work down may call world over school still try last need feel three state high something most much family leave put old while mean keep student why let great group country help talk where turn problem start hand might show part place few case week company system right program question play government run small number off move night point hold today large million must home water room mother area national money story young fact month lot study book eye job word business issue side kind four head far black long little house yes service friend father away power hour game line end stand bad member pay law meet car city set community name five once white least president real change team minute best idea kid body information nothing lead social watch follow parent stop face anything public read level office door health person art war history party result open morning walk reason low win research food moment air teacher force offer enough education foot second able age policy love process music buy wait serve market send sense build stay fall nation plan cut college interest course someone experience behind reach local six effect class control raise care hard field pass former sell major development report role better effort rate possible heart drug leader light voice whole police mind pull return free military price less decision son hope view relationship carry town road drive arm true federal break difference value international building action full model join season society tax director position player record pick wear paper special space ground form support event official matter center couple site project hit base activity star table court produce teach oil half situation cost industry figure street image phone data cover picture clear practice piece land product doctor wall patient worker news test movie north personal third technology catch step baby computer type attention draw film tree source red organization cause hair century evidence window culture billion chance brother energy period summer hundred plant opportunity term short letter condition choice single rule daughter administration south congress floor campaign material population economy medical hospital church close thousand risk current fire future wrong defense increase security bank west sport board seek subject officer private rest behavior deal performance fight throw top past goal bed order author fill focus drop blood agency push nature color store sound note fine near movement page share common natural race concern series language response dead rise animal factor decade article shoot east save seven artist scene stock career despite central eight treatment beyond approach lie size dog fund media ready sign thought list individual simple quality pressure answer resource left meeting disease success cup amount ability staff character growth loss degree wonder attack region television box training pretty trade election physical lay general feeling standard bill message fail outside analysis benefit forward lawyer present section glass skill sister professor operation crime stage compare authority miss design sort act ten knowledge gun station blue strategy truth song example check environment leg dark laugh guess executive hang entire rock claim remove manager network religious cold final main science green memory card above seat cell nice trial expert spring firm radio visit management tonight ball finish theory impact respond statement charge reveal direction weapon employee peace pain measure wide shake fly interview manage chair fish particular camera structure politics bit weight candidate production treat trip evening affect inside conference unit style adult worry range mention deep edge specific writer trouble necessary challenge fear shoulder institution middle sea dream bar property improve stuff detail method somebody magazine hotel soldier heavy bag heat marriage tough sing surface purpose pattern skin agent owner machine gas generation commercial address cancer item reality coach yard beat violence total investment discussion finger garden notice collection modern task partner positive kitchen consumer shot budget wish painting scientist safe agreement capital mouth victim newspaper threat responsibility smile attorney score account audience rich dinner vote western travel debate citizen majority none front senior wind key professional mission fast customer speech option participant fresh forest video senate reform access restaurant judge relation release bird opinion credit corner recall version stare safety neighborhood original troop income species track basic strike sky freedom plane nobody object attitude labor refer concept client perfect nine conduct conversation touch variety sleep investigation researcher press conflict spirit argument camp brain feature afternoon weekend dozen possibility insurance department battle beginning date crisis fan stick hole element vision status normal ship solution stone scale university driver attempt park spot lack ice boat drink sun distance wood handle truck mountain survey tradition winter village refuse sales roll communication screen gain resident hide gold club farm potential presence independent district shape reader contract crowd express apartment willing strength band horse target prison ride guard terms demand reporter text tool wild vehicle flight facility understanding average advantage quick leadership pound basis bright guest sample block protection settle feed collect identity title lesson faith river living count tomorrow technique path ear shop folk principle lift border competition jump gather limit fit cry equipment worth associate critic warm aspect failure annual comment responsible affair procedure regular spread chairman baseball soft egg belief anybody gift religion review editor coffee document speed cross influence youth wave quarter background native broad reaction suit perspective growing blow construction intelligence cook connection burn shoe grade context committee mistake location clothes quiet dress promise neighbor function bone active chief combine wine cool voter learning bus moral united category victory academic negative following medicine tour photo finding grab classroom contact justice participate daily fair pair exercise knee flower tape hire familiar supply actor birth search tie democracy primary yesterday circle device progress bottom island exchange clean studio train lady colleague application neck lean damage plastic plate hate writing expression football chicken army abuse theater shut map extra session danger welcome domestic lots literature rain desire assessment injury respect northern nod paint fuel leaf dry instruction pool climb sweet engine fourth salt importance metal fat ticket software lip reading lunch farmer sugar planet favorite enemy greatest complex surround athlete invite repeat soul impossible panel meaning mom married instrument weather commitment bear pocket temperature surprise poll proposal consequence breath sight balance minority straight works teaching aid advice okay photograph empty trail novel code jury theme storm union desk thanks fruit yellow conclusion prime shadow struggle analyst dance regulation being ring shift revenue mark county appearance package difficulty bridge thinking trend visitor loan investor profit crew accident meal hearing traffic muscle notion capture earth chest thick cash museum beauty emergency unique internal link stress content root nose bottle setting launch file sick outcome duty sheet ought ensure extent component mix contrast zone wake airport brown shirt pilot cat contribution capacity estate guide circumstance snow politician steal slip percentage meat funny soil surgery blame estimate due basketball golf crazy chain branch combination governor relief user dad kick manner ancient silence rating motion gender fee landscape bowl equal frame conservative host hall trust ocean row producer meanwhile regime division fix appeal mirror tooth smart length topic variable telephone perception confidence bedroom secret debt tank nurse coverage opposition aside bond pleasure master era requirement fun expectation wing separate pour stir judgment beer reference tear doubt grant minister hero cloud stretch winner volume seed fashion pepper intervention copy tip cheap aim welfare vegetable gray dish beach improvement opening overall divide initial contemporary route multiple essential league criminal core upper rush employ holiday vast resolution household abortion witness match sector representative incident limited flow faculty waste mass experiment bomb tone liberal engineer wheel decline cable expose narrow cream secretary gate solid hill noise grass hat legislation achievement fishing useful reject talent taste characteristic milk escape cast sentence height physician plenty addition sharp lower explanation campus proper plus immigrant alternative interaction column personality signal curriculum honor passenger assistance forever regard association twenty knock wrap lab display criticism asset depression spiritual musical journalist prayer suspect scholar warning climate cheese observation childhood payment sir permit cigarette definition priority bread creation graduate request emotion scream universe gap prosecutor drag airline library agenda factory selection roof expense initiative diet arrest funding therapy wash schedule brief housing post purchase steel shout visual chip silent self bike tea comparison settlement layer planning description slide wedding portion territory opponent abandon lake transform tension leading bother alcohol bend saving desert error cop double sand print preserve passage formal transition existence album participation atmosphere joint reply cycle opposite lock resistance discovery exposure pose stream sale pot grand mine hello coalition tale knife resolve phase joke coat symptom manufacturer philosophy potato foundation quote negotiation urge occasion dust elect investigator jacket glad ordinary reduction pack suicide substance discipline iron passion volunteer implement gene enforcement sauce independence marketing priest advance employer shock visible kiss illness cap habit juice involvement transfer attach disaster parking prospect boss complaint championship fundamental mystery poverty entry spending king symbol maker mood emphasis boot monitor entertainment bean evaluation creature commander digital arrangement concentrate usual anger peak disorder missile wire round distribution transportation holy twin command commission interpretation breakfast engineering luck constant clinic veteran smell tablespoon tourist toss tomato exception butter deficit bathroom objective ally journey reputation mixture tower smoke glance dimension toy prisoner fellow smooth peer designer personnel educator relative immigration belt teaspoon birthday implication coast supporter silver teenager recognition retirement flag recovery whisper gentleman corn moon inner junior throat salary swing observer publication crop dig permanent phenomenon anxiety wet resist convention embrace assist exhibition construct viewer pan consultant administrator mayor consideration pink buck poem grandmother bind fifth enterprise favor testing stomach weigh suggestion mail recipe preparation concert intention channel extreme tube drawing protein absence jail diversity pace employment speaker impression essay respondent giant cake historian substantial pop specialist origin approval conventional depth wealth disability shell biological onion deputy flat brand award dealer utility highway routine wage phrase ingredient stake fiber activist snap terrorism refugee hip ultimate switch corporation valuable assumption gear barrier minor provision assign gang developing classic chemical label teen index vacation advocate draft heaven rough yell drama satellite clock chocolate ceiling sweep advertising universal spin button bell rank darkness clothing super yield fence portrait survival lawsuit testimony bunch found burden chamber furniture cooperation string ceremony cheek lost profile mechanism penalty resort destruction tissue constitutional pant stranger infection cabinet apple electric bet virus stupid dispute fortune assistant statistics shopping cousin encounter wipe blind port electricity adviser spokesman latter incentive slave terror expansion elite dirt odd rice bullet chart square concentration champion scenario telescope reflection revolution strip friendly tournament fiction lifetime recommendation senator hunting salad guarantee innocent boundary pause remote satisfaction journal bench lover raw awareness surprising deck pole mode dialogue founder pride aircraft delivery bake freeze platform finance sink ideal joy working singer shooting unknown offense counter dna thirty protest crash craft treaty terrorist insight tap episode swim tire fault loose prior intellectual assault stair adventure external proof confident headquarters sudden violation tongue license shelter rub controversy entrance fade defensive tragedy net funeral profession establishment squeeze imagination mask convert comprehensive presentation load stable introduction representation deer split partnership pollution emission steady vital fate earnings oven distinction segment nowhere poet mere variation comfort radical honey correspondent pale musician significance vessel storage leather evolution ill tribe shelf grandfather lawn buyer dining wisdom council instance garlic capability poetry celebrity stability fantasy plot framework gesture psychology counselor chapter divorce pipe slight math shade tail mount obligation angle palm custom economist fifteen soup celebration composition pile carbon closer scheme crack frequency tobacco survivor psychologist galaxy given ski limitation trace appointment preference meter explosion fighter rapid admission hunter friendship aide infant fifty porch tendency uniform formation scholarship reservation efficiency mall scandal impress heel privacy fabric contest proportion guideline rifle maintenance conviction trick organic tent examination publisher myth cow etc standing tennis nerve barrel bombing membership ratio menu desperate lifestyle humor glove sufficient narrative photographer helicopter provider delay stroke scope punishment handful horizon downtown prompt cholesterol adjustment taxpayer eager principal motivation assignment restriction laboratory workshop auto romantic cotton motor flavor overlook float sequence demonstration jet orange consumption blade temporary medication cabin bite edition valley pitch pine brilliant manufacturing absolute chef discrimination offensive boom register heritage dominant lemon wander economics nut legacy extension shrug battery arrival orientation inflation cope flame cluster wound dependent shower flesh garage operator instructor collapse borrow comedy mortgage sanction civilian twelve weekly habitat grain brush consciousness measurement province ease ethics nomination permission wise actress summit acid odds frustration medium shore lung running discourse basket fighting competitor powder ghost moderate cookie carrier cooking ban pet miracle rhythm lovely sin charity script tactic identification transformation headline venture invasion piano grocery intensity exhibit blanket margin quarterback mouse rope concrete prescription chase brick recruit patch consensus horror recording painter colonial pie sake gaze courage pregnancy swear defeat clue confusion slice occupation dear coal formula collective uncle captain sigh attribute dare homeless gallery soccer defendant tunnel fitness lap grave toe container virtue architect makeup inquiry rose highlight decrease indication rail anniversary couch alliance hypothesis boyfriend mess legend adolescent shine norm upset remark reward gentle organ laughter northwest counseling receiver ritual insect interrupt salmon trading magic superior combat stem surgeon physics rape counsel hunt log echo pill sculpture compound flour bitter slope rent presidency serving bishop drinking acceptance pump candy evil medal beg sponsor secondary slam export melt midnight curve integrity logic essence closet suburban greet interior corridor retail pitcher march snake excuse weakness pig unemployment civilization fold reverse correlation humanity flash developer excitement beef architecture elbow allegation airplane monthly duck dose initiate lecture van sixth bay mainstream suburb sandwich trunk rumor implementation swallow render trap cloth legislative effectiveness lens inspector plain fraud companion nail array rat burst hallway cave inevitable southwest monster obstacle rip herb integration crystal recession written motive flood pen ownership nightmare inspection supervisor arena diagnosis possession basement drift drain prosecution maximum announcement warrior prediction bacteria questionnaire mud infrastructure hurry privilege temple suck broadcast leap random wrist curtain pond domain guilt cattle walking playoff minimum fiscal skirt dump database limb ideology tune harm railroad radiation horn innovation strain guitar replacement dancer amendment pad transmission trigger spill grace colony adoption convict towel particle prize landing boost bat alarm festival grip weird freshman sweat outer drunk separation southeast ballot rhetoric driving vitamin enthusiasm praise wilderness mandate uncertainty chaos mechanical canvas forty lobby profound format trait currency turkey reserve beam astronomer corruption contractor doctrine thumb unity compromise exclusive scatter twist complexity fork disk suspicion residence shame sidewalk signature wow rebel fluid pension resume sodium promotion delicate forehead bounce hook detective traveler click compensation exit attraction altogether pickup needle belly scare portfolio shuttle invisible timing engagement ankle transaction rescue counterpart mild rider doll noon carbohydrate liberty poster theology crawl oxygen sum businessman determination donor pastor jazz opera acquisition pit hug wildlife equity doorway departure elevator teenage guidance happiness statue pursuit repair gym oral clerk envelope reporting destination fist exploration bath indicator sunlight feedback spectrum purple laser bold starting expertise eating hint parade realm cancel blend therapist peel pizza recipient flip accounting bias metaphor candle entity suffering lamp garbage servant reception vanish chin necessity racism starter banking casual gravity prevention chop performer intent inventory assembly silk magnitude steep hostage collector popularity alien dynamic equation angel offering rage photography toilet tender gathering stumble automobile dawn abstract silly tide revolutionary romance hardware pillow kit continent seal circuit ruling shortage scan fool deadline rear processing ranch burning verbal automatic diamond credibility import divine sentiment cart elder pro inspiration quantity trailer mate genius monument bid quest sacrifice invitation accuracy juror broker treasure loyalty talented gasoline stiff output nominee diabetes slap jaw grief rocket inmate tackle dynamics bow dignity carpet bubble buddy barn sword seventh glory protective tuck drum faint queen dilemma input northeast shallow liability sail merchant stadium withdrawal refrigerator nest lane ancestor steam accent unite cage shrimp homeland rack costume wolf courtroom statute cartoon productivity grin bug aunt agriculture hay vaccine bonus collaboration orbit grasp patience spite voting patrol willingness revelation calm jewelry haul wagon spectacular ruin sheer immune reliability bush exotic clip thigh bull drawer sheep coordinator runner secular intimate empire cab exam documentary neutral biology progressive web conspiracy casualty republic execution whale functional instinct teammate aluminum ministry verdict skull cooperative bee practitioner loop edit whip puzzle mushroom subsidy boil mathematics mechanic jar earthquake pork creativity dessert sympathy fisherman isolation sock eleven entrepreneur syndrome bureau workplace ambition touchdown breeze translation dissolve gut metropolitan rolling aesthetic spell insert booth helmet waist lion accomplishment royal panic crush cliff cord cocaine illusion appreciation commissioner flexibility scramble casino tumor pulse equivalent donation diary sibling irony spoon midst alley soap rival punch pin hockey passing supplier known momentum purse shed liquid icon elephant legislature franchise bicycle cheat fever filter rabbit coin exploit organism sensation upstairs conservation shove backyard charter stove consent reminder placement dough grandchild dam surrounding outfit columnist workout preliminary patent shy trash disabled gross damn hormone texture pencil frontier spray custody banker beast oak eighth notebook outline attendance speculation behalf shark mill installation stimulate tag vertical swimming fleet catalog outsider stance sensitivity instant debut hike confrontation constitution trainer scent stack eyebrow sack cease tray pioneer textbook shrink dot wheat kingdom aisle protocol vocal marketplace terrain pasta genre merit planner chunk discount ladder jungle migration breathing hurricane retailer coup ambassador density curiosity skip aggression stimulus journalism robot dip feather sphere boast pat sole publicity validity ecosystem partial collar weed compliance streak builder glimpse premise specialty artifact sneak monkey mentor listener lightning sleeve disappointment rib debris rod ash parish slavery blank commodity cure mineral hunger dying spare equality cemetery harassment fame regret striking likelihood carrot toll rim cling blink wheelchair squad processor plunge demographic chill refuge steer legislator rally programming cheer outlet vendor peanut chew conception auction steak triumph shareholder transport conscience calculation interval scratch jurisdiction feminist constraint expedition similarity lid bulk sprinkle mortality conversion patron liver harmony tolerance goat blessing banana palace peasant neat grandparent lawmaker supermarket cruise mobile calendar widow deposit beard brake screening impulse fur predator poke voluntary forum dancing soar removal autonomy thread landmark offender coming fraction tourism threshold suite regulator straw exhaust globe objection chemistry blast denial rental fantastic fragment warmth undergraduate headache policeman projection graduation drill mansion grape cottage driveway charm sexuality clay balloon invention ego fare homework disc sofa availability radar frown sweater rehabilitation rubber retreat molecule youngster premium accountability update spark fatigue marker bucket blond confession marble defender surveillance technician mutter arrow trauma soak ribbon meantime harvest republican coordinate spy slot riot nutrient citizenship sovereignty ridge brave lighting contributor transit seminar electronics shorts swell accusation cue bride biography hazard compelling tile twentieth foreigner convenience delight weave timber till plea bulb flying devil bolt cargo spine seller managing marine dock fog diplomat boring summary missionary epidemic trim warehouse butterfly bronze spit kneel vacuum dictate stereotype sensor laundry manual pistol plaintiff apology )
- VERSION =
"1.0.1"
Class Method Summary collapse
- .babble(seed = nil) ⇒ Object
- .config ⇒ Object
-
.configure {|config| ... } ⇒ Object
Configuration machinery.
Class Method Details
.babble(seed = nil) ⇒ Object
8 9 10 11 12 13 14 15 16 17 18 |
# File 'lib/babbler.rb', line 8 def babble(seed = nil) prng = Random.new(seed || Random.new_seed) adjectives = [] Babbler.config.num_adjectives.times do adjectives.push(ADJECTIVES[prng.rand(ADJECTIVES.length)]) end noun = NOUNS[prng.rand(NOUNS.length)] "#{adjectives.join(' ')} #{noun}" end |
.config ⇒ Object
36 37 38 |
# File 'lib/babbler.rb', line 36 def config @configuration ||= Configuration.new end |
.configure {|config| ... } ⇒ Object
Configuration machinery.
To configure Babbler, put the following code in your applications initialization logic (eg. in the config/initializers in a Rails app)
Babbler.configure do |config|
...
end
32 33 34 |
# File 'lib/babbler.rb', line 32 def configure yield config end |