# called upon for use in CLI.artist_select

class Artist # also considered Constance
	attr_accessor :name, :songs, :url, :chart_history
	@@all = []

	def initialize(name, url)
		@name = name
		@url = url
	end # initialize

	def self.all
		@@all
	end # all

	def save
		@@all << self
	end # save

	def self.create(name, url)
		new_artist = self.new(name, url)
		new_artist.save
		new_artist
	end # create
end # Class
