Class: Codeforces::Models::Contest

Inherits:
Base
  • Object
show all
Defined in:
lib/codeforces/models/contest.rb

Instance Attribute Summary

Attributes inherited from Base

#base, #client

Instance Method Summary collapse

Methods inherited from Base

#grep, #initialize, #invert_grep

Constructor Details

This class inherits a constructor from Codeforces::Models::Base

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Codeforces::Models::Base

Instance Method Details

#problemsObject



5
6
7
# File 'lib/codeforces/models/contest.rb', line 5

def problems
  client.problems.contest base.id
end