class AdminModule::Pages::WorkflowDetailTaskMappingsPage::TaskDetail

Attributes

edit_button_id[RW]
mapped_screens[RW]
name[RW]
sequence[RW]

Public Instance Methods

screens() click to toggle source
# File lib/admin_module/pages/workflow_detail_task_mappings_page.rb, line 127
def screens
  # Clean up the screens list by splitting into an array
  screens = @mapped_screens.split(', ')
  # and removing whitespace (specifically, non-breaking spaces)
  screens.collect! { |scr| scr.gsub("\u00A0",'').strip }
end
to_hsh() click to toggle source
# File lib/admin_module/pages/workflow_detail_task_mappings_page.rb, line 119
def to_hsh
  {
    sequence: @sequence,
    name: @name,
    mapped_screens: screens,
  }
end