Class: PVC::BlockPiece
- Inherits:
-
Object
- Object
- PVC::BlockPiece
- Defined in:
- lib/pvc/block_piece.rb
Defined Under Namespace
Classes: Runner
Instance Method Summary collapse
-
#initialize(&block) ⇒ BlockPiece
constructor
A new instance of BlockPiece.
- #runner ⇒ Object
Constructor Details
#initialize(&block) ⇒ BlockPiece
33 34 35 |
# File 'lib/pvc/block_piece.rb', line 33 def initialize(&block) @block = block end |
Instance Method Details
#runner ⇒ Object
37 38 39 |
# File 'lib/pvc/block_piece.rb', line 37 def runner Runner.new(&@block) end |