class CLI::CONCORD
Constants
- CONCORD_PLAYS
Public Class Methods
all()
click to toggle source
# File lib/prls/concord.rb, line 10 def self.all CONCORD_PLAYS end
get_details(index)
click to toggle source
# File lib/prls/concord.rb, line 27 def self.get_details(index) if self.all[index].need_attr? self.all[index].add_attr(PRLS::CLI::Scraper.new.concord_info(self.all[index].url)) end end
get_plays()
click to toggle source
# File lib/prls/concord.rb, line 14 def self.get_plays if self.all.empty? url = "https://www.concordtheatricals.com/perform/plays" self.new_from_scrape(PRLS::CLI::Scraper.new.concord_index(url)) end end
list_plays()
click to toggle source
Calls superclass method
# File lib/prls/concord.rb, line 21 def self.list_plays puts "" puts "Here are Concord Theatrical's featured plays:" super end
new(attributes)
click to toggle source
Calls superclass method
# File lib/prls/concord.rb, line 5 def initialize(attributes) super CONCORD_PLAYS << self end