# File lib/de.linque.nt.rb, line 37 def post_from_cli unless ARGV[0] puts 'You must enter some description text, fool!' return end text = ARGV.join( ' ' ) ary = text.split( '.' ) desc = ary.shift ext = ary.join( '.' ) add( desc, ext ) recent( count = 10 ).each do |post| puts post.inspect end end