Module: PbSyringe::Progressable
- Defined in:
- lib/pb_syringe/progressable.rb
Instance Attribute Summary collapse
-
#progress_unit ⇒ Object
Returns the value of attribute progress_unit.
Instance Method Summary collapse
Instance Attribute Details
#progress_unit ⇒ Object
Returns the value of attribute progress_unit.
3 4 5 |
# File 'lib/pb_syringe/progressable.rb', line 3 def progress_unit @progress_unit end |
Instance Method Details
#progress_finish ⇒ Object
13 14 15 16 |
# File 'lib/pb_syringe/progressable.rb', line 13 def progress_finish return if PbSyringe.suppress? progress_unit.finish if progress_unit end |