Sha256: a137276156ba433d6482f29c437ae56606ec11add5a8721c648690dc0a781a50

Contents?: true

Size: 236 Bytes

Versions: 11

Compression:

Stored size: 236 Bytes

Contents

module PT::Flow
  class TasksTable < PT::TasksTable
    def initialize(dataset)
      @rows = dataset.map{ |row| TaskRow.new(row, dataset) }
    end

    def self.fields
      [:name, :story_type, :current_state, :id]
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
pt-flow-2.2.1 lib/pt-flow/tasks_table.rb
pt-flow-2.2.0 lib/pt-flow/tasks_table.rb
pt-flow-2.1.0 lib/pt-flow/tasks_table.rb
pt-flow-2.0.0 lib/pt-flow/tasks_table.rb
pt-flow-1.1.1 lib/pt-flow/tasks_table.rb
pt-flow-1.1.0 lib/pt-flow/tasks_table.rb
pt-flow-1.0.0 lib/pt-flow/tasks_table.rb
pt-flow-0.8.2 lib/pt-flow/tasks_table.rb
pt-flow-0.8.1 lib/pt-flow/tasks_table.rb
pt-flow-0.8.0 lib/pt-flow/tasks_table.rb
pt-flow-0.7.0 lib/pt-flow/tasks_table.rb