Class: Coursemology::Evaluator::Models::ProgrammingEvaluation::Package

Inherits:
Object
  • Object
show all
Defined in:
lib/coursemology/evaluator/models/programming_evaluation/package.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(stream) ⇒ Package

Constructs a new Package.

Parameters:

  • stream (IO)

    The stream comprising the package.



9
10
11
# File 'lib/coursemology/evaluator/models/programming_evaluation/package.rb', line 9

def initialize(stream)
  @stream = stream
end

Instance Attribute Details

#streamObject (readonly)

The stream comprising the package.



4
5
6
# File 'lib/coursemology/evaluator/models/programming_evaluation/package.rb', line 4

def stream
  @stream
end