Class: Przn::Slide
- Inherits:
-
Object
- Object
- Przn::Slide
- Defined in:
- lib/przn/slide.rb
Instance Attribute Summary collapse
-
#blocks ⇒ Object
readonly
Returns the value of attribute blocks.
Instance Method Summary collapse
-
#initialize(blocks) ⇒ Slide
constructor
A new instance of Slide.
Constructor Details
#initialize(blocks) ⇒ Slide
Returns a new instance of Slide.
7 8 9 |
# File 'lib/przn/slide.rb', line 7 def initialize(blocks) @blocks = blocks.freeze end |
Instance Attribute Details
#blocks ⇒ Object (readonly)
Returns the value of attribute blocks.
5 6 7 |
# File 'lib/przn/slide.rb', line 5 def blocks @blocks end |