Class: Lecture::Slide::Block

Inherits:
Base
  • Object
show all
Defined in:
lib/lecture/slide/block.rb

Instance Attribute Summary

Attributes inherited from Base

#content, #options

Instance Method Summary collapse

Methods inherited from Base

inherited, #initialize

Constructor Details

This class inherits a constructor from Lecture::Slide::Base

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Lecture::Slide::Base

Instance Method Details

#displayObject



6
7
8
9
10
# File 'lib/lecture/slide/block.rb', line 6

def display
  content.each_line.with_index do |line, i|
    print_line(line, col, row + i)
  end
end