lib/pcr-ruby.rb in pcr-ruby-0.1 vs lib/pcr-ruby.rb in pcr-ruby-0.2
- old
+ new
@@ -13,15 +13,15 @@
def course(course_code)
Course.new(course_code)
end
- def section(*args)
- Section.new(*args)
+ def section(id, hit_api = true)
+ Section.new(id, hit_api)
end
- def instructor(id, *args)
- Instructor.new(id, *args)
+ def instructor(id)
+ Instructor.new(id)
end
end
# Load classes
Dir[File.dirname(__FILE__) + "/classes/*.rb"].each { |file| require file }
\ No newline at end of file