Class: HomeworkReport::Scope
- Inherits:
-
Object
- Object
- HomeworkReport::Scope
- Defined in:
- lib/homework_report/scope.rb
Instance Method Summary collapse
-
#initialize(&block) ⇒ Scope
constructor
Constructor.
-
#renderer ⇒ Object
Renderer Object.
Constructor Details
#initialize(&block) ⇒ Scope
Constructor
5 6 7 |
# File 'lib/homework_report/scope.rb', line 5 def initialize(&block) self.instance_eval &block if block end |