Method: OLE_QA::Framework::Account_Factory.select_object

Defined in:
lib/data_factory/account_factory.rb

.select_object(chart_code = :BL) ⇒ Object

Return a random object array.

Parameters:

  • chart_code (Symbol) (defaults to: :BL)

    The chart code from which the object should be selected.



46
47
48
# File 'lib/data_factory/account_factory.rb', line 46

def select_object(chart_code = :BL)
  @object_matrix[chart_code].sample
end