Method: Controlplane#extract_image_commit
- Defined in:
- lib/core/controlplane.rb
#extract_image_commit(image_name) ⇒ Object
82 83 84 |
# File 'lib/core/controlplane.rb', line 82 def extract_image_commit(image_name) image_name.match(/_(\h+)$/)&.captures&.first end |