class City
Attributes
attractions[RW]
city_summary[RW]
name[RW]
urls[RW]
Public Class Methods
all()
click to toggle source
# File lib/undercover_tourist_cli/city.rb, line 13 def self.all @@all end
new(name = nil)
click to toggle source
# File lib/undercover_tourist_cli/city.rb, line 7 def initialize(name = nil) @name = name.capitalize @attractions = [] @@all << self end