Sha256: 25c0c4bd11eef65ee2353e22b072d99e9042bcb9e218a4ff62deafe1327cae72
Contents?: true
Size: 406 Bytes
Versions: 1
Compression:
Stored size: 406 Bytes
Contents
#!/usr/bin/ruby BEGIN { $LOAD_PATH.unshift File::dirname(File::dirname( __FILE__ )) + "/lib" require 'linguistics' } Linguistics::use( :en ) # Just a(nother) fun little demo of the conjunction (junction, what's # your) function. animals = %w{dog cow ox chicken goose goat cow dog rooster llama pig goat dog cat cat dog cow goat goose goose ox alpaca} puts "The farm has: " + animals.en.conjunction
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
eviltrout-linguistics-1.0.6.1 | experiments/farmobjs.rb |