class AutomationObject::BluePrint::HashAdapter::AutomaticModalChange
Public Instance Methods
close()
click to toggle source
# File lib/automation_object/blue_print/hash_adapter/automatic_modal_change.rb, line 31 def close hash[:close] ||= false end
modal_name()
click to toggle source
# File lib/automation_object/blue_print/hash_adapter/automatic_modal_change.rb, line 16 def modal_name modal_name = hash[:modal_name] case modal_name when Symbol, String return modal_name.to_sym else return nil end end
number_of_checks()
click to toggle source
# File lib/automation_object/blue_print/hash_adapter/automatic_modal_change.rb, line 27 def number_of_checks hash[:number_of_checks] ||= 1 end