Sha256: 6a9bdeceab93f2b275e24e9ed56c0296c63ab9746458bd43eeb6a026ad91b20b

Contents?: true

Size: 379 Bytes

Versions: 4

Compression:

Stored size: 379 Bytes

Contents

module TaskWarrior
  module Dependencies
    #
    # Presents a thing to the graph
    #
    class Presenter
      def initialize(id)
        @id = id
        @attributes = {:label => id, :labelloc => 'top'}
      end

      def attributes
        @attributes
      end

      def id
        @id
      end

      protected
      attr_writer :id, :attributes
    end
   end
 end
 

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
twdeps-1.0.1 lib/twdeps/presenter.rb
twdeps-1.0.0 lib/twdeps/presenter.rb
twdeps-0.0.4 lib/twdeps/presenter.rb
twdeps-0.0.3 lib/twdeps/presenter.rb