Module: Tataru::DeleteSubroutines
- Included in:
- SubroutineCompiler
- Defined in:
- lib/tataru/delete_subroutines.rb
Overview
delete subroutines
Instance Method Summary collapse
- #check_delete_instructions ⇒ Object
- #commit_delete_instructions ⇒ Object
- #delete_instructions ⇒ Object
- #finish_delete_instructions ⇒ Object
Instance Method Details
#check_delete_instructions ⇒ Object
15 16 17 18 19 20 21 22 |
# File 'lib/tataru/delete_subroutines.rb', line 15 def check_delete_instructions return [] if desc.delete_at_end? [ *load_resource_instructions, :check_delete ] end |
#commit_delete_instructions ⇒ Object
24 25 26 27 28 29 30 31 |
# File 'lib/tataru/delete_subroutines.rb', line 24 def commit_delete_instructions return [] unless desc.delete_at_end? [ *load_resource_instructions, :delete ] end |
#delete_instructions ⇒ Object
6 7 8 9 10 11 12 13 |
# File 'lib/tataru/delete_subroutines.rb', line 6 def delete_instructions return [] if desc.delete_at_end? [ *load_resource_instructions, :delete ] end |
#finish_delete_instructions ⇒ Object
33 34 35 36 37 38 39 40 |
# File 'lib/tataru/delete_subroutines.rb', line 33 def finish_delete_instructions return [] unless desc.delete_at_end? [ *load_resource_instructions, :check_delete ] end |