Method: BioDSL::StatusHelper#status_init
- Defined in:
- lib/BioDSL/helpers/status_helper.rb
#status_init(status, args) ⇒ Object
Given a list of symbols initialize all as status hash keys with the value 0.
39 40 41 42 |
# File 'lib/BioDSL/helpers/status_helper.rb', line 39 def status_init(status, args) args.each { |arg| status[arg] = 0 } @status = status end |