Sha256: 6436e8244d179c1f6cca01f7ac4785d9b4df887dab06443aa4830e3945026fed

Contents?: true

Size: 507 Bytes

Versions: 2

Compression:

Stored size: 507 Bytes

Contents

module Intent
  module Core
    class Documents
      attr_reader :projects
      attr_reader :inventory
      attr_reader :inbox
      attr_reader :working_directory

      def initialize
        @projects = Projects.new("#{Intent::Env.documents_dir}/projects.txt")
        @inventory = Inventory.new("#{Intent::Env.documents_dir}/inventory.txt")
        @inbox = Inbox.new("#{Intent::Env.documents_dir}/todo.txt")
        @working_directory = Directory.new(Dir.pwd, @projects)
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
intent-0.8.1 lib/intent/core/documents.rb
intent-0.8.0 lib/intent/core/documents.rb