Module: Tataru::CreateSubroutines
- Included in:
- SubroutineCompiler
- Defined in:
- lib/tataru/create_subroutines.rb
Overview
create subroutines
Instance Method Summary collapse
- #check_create_instructions ⇒ Object
- #commit_create_instructions ⇒ Object
- #create_instructions ⇒ Object
- #finish_create_instructions ⇒ Object
Instance Method Details
#check_create_instructions ⇒ Object
16 17 18 19 20 21 |
# File 'lib/tataru/create_subroutines.rb', line 16 def check_create_instructions [ *load_resource_instructions, :check_create ] end |
#commit_create_instructions ⇒ Object
23 24 25 |
# File 'lib/tataru/create_subroutines.rb', line 23 def commit_create_instructions [] end |
#create_instructions ⇒ Object
6 7 8 9 10 11 12 13 14 |
# File 'lib/tataru/create_subroutines.rb', line 6 def create_instructions @rrep.check_required_fields! [ *load_resource_instructions, { key: :properties }, { value_rom: @rrep.name }, :create ] end |
#finish_create_instructions ⇒ Object
27 28 29 |
# File 'lib/tataru/create_subroutines.rb', line 27 def finish_create_instructions [] end |