Class: Esb
- Inherits:
-
Object
- Object
- Esb
- Defined in:
- lib/esb.rb,
lib/esb/version.rb
Constant Summary collapse
- VERSION =
"0.0.2"
Class Method Summary collapse
Class Method Details
.get_color ⇒ Object
5 6 7 8 9 10 |
# File 'lib/esb.rb', line 5 def self.get_color doc = Nokogiri::HTML(open("http://www.esbnyc.com/current_events_tower_lights.asp")) puts " " puts doc.css("#page-title").text.strip puts " " end |