Class: Palmade::Cableguy::Builders::CableCustom

Inherits:
Cable
  • Object
show all
Defined in:
lib/palmade/cableguy/builders/cable_custom.rb

Instance Attribute Summary

Attributes inherited from Cable

#args

Instance Method Summary collapse

Methods inherited from Cable

add_as, build, build_key, builders, #initialize, supported_builders

Constructor Details

This class inherits a constructor from Palmade::Cableguy::Cable

Instance Method Details

#configure(cabler, cabling, target) ⇒ Object



5
6
7
8
9
# File 'lib/palmade/cableguy/builders/cable_custom.rb', line 5

def configure(cabler, cabling, target)
  unless @block.nil?
    @block.call(self)
  end
end