[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
Re: [PhillyOnRails] PETE event
|
I am now looking for any excuse at all to put a what_about_beer? method on some object, any object...
MBL
On Tue, Mar 25, 2008 at 8:13 PM, Colin A. Bartlett < phillyonrails@colinabartlett.com> wrote:
Good to see all those PoR folks who came out tonight. For those that
missed the networking, beer, and food, it was a good time. Below
you'll find the text of the flyer that I printed out and distributed
at the event.
cheers,
Colin
Colin A. Bartlett
Kinetic Web Solutions
http://blog.kineticweb.com
-----
#!/usr/bin/env ruby
require 'rubygems'
gem 'chronic'
require 'Date'
require 'chronic'
require 'net/http'
require 'uri'
class PhillyOnRails
def who_and_what?
return "A group of Ruby enthusiasts who meet to discuss things
like:\n" +
past_topics.map {|a| "* #{a}"}.join("\n")
end
def past_topics
['Facebook application development with Rails',
'Development with Merb',
'Agile development',
'RSRuby and GBarcode',
'RSpec and Behavior Driven Development',
'Intro to Erlang',
'Email in and out of Ruby',
'Globalize']
end
def where?
return "We meet in and around Philadelphia:\n" +
locations.map {|l| " * #{l}"}.join("\n")
end
def locations
['Drexel University', 'Fort Washington, PA', 'Various other hot-
spots']
end
def what_about_beer?
return "Some of us meet for casual conversation and geekery once
a month,\n" +
"the 3rd Monday at Chaucer's in Philadelphia. Those Pub Nite
dates are:\n" +
pub_nites.map {|n| " * #{n.strftime('%A, %B %d,
%Y')}"}.join("\n")
end
def pub_nites
Date::MONTHNAMES.map {|m| Chronic.parse "3rd monday in
#{m}"}.delete_if{|p| p.nil?}
end
end
%W(who_and_what? where? what_about_beer?).each do |i|
print "#{i}\n" + PhillyOnRails.new.send(i) + "\n\n"
end
# Need more info?
Net::HTTP.get_print URI.parse('http://www.phillyonrails.org/')
_______________________________________________
To unsubscribe or change your settings, visit:
http://lists.phillyonrails.org/mailman/listinfo/talk
_______________________________________________
To unsubscribe or change your settings, visit:
http://lists.phillyonrails.org/mailman/listinfo/talk
|
|