Module: Aircana::Generators::Helpers

Defined in:
lib/aircana/generators/helpers.rb

Class Method Summary collapse

Class Method Details

.model_instructions(instructions, important: false) ⇒ Object



7
8
9
10
11
# File 'lib/aircana/generators/helpers.rb', line 7

def model_instructions(instructions, important: false)
  <<~INSTRUCTIONS
    INSTRUCTIONS #{"IMPORTANT" if important}: #{instructions}
  INSTRUCTIONS
end