Class: PVC::BlockPiece

Inherits:
Object
  • Object
show all
Defined in:
lib/pvc/block_piece.rb

Defined Under Namespace

Classes: Runner

Instance Method Summary collapse

Constructor Details

#initialize(&block) ⇒ BlockPiece

Returns a new instance of BlockPiece.



33
34
35
# File 'lib/pvc/block_piece.rb', line 33

def initialize(&block)
  @block = block
end

Instance Method Details

#runnerObject



37
38
39
# File 'lib/pvc/block_piece.rb', line 37

def runner
  Runner.new(&@block)
end