Sha256: 75bef64a7ad0ef17d372bd6cc9bd2457b15343404c5ebfad00a91e8c9de75c94

Contents?: true

Size: 477 Bytes

Versions: 65

Compression:

Stored size: 477 Bytes

Contents

module AMEE
  class Object
    
    def initialize(data = nil)
      @uid = data ? data[:uid] : nil
      @created = data ? data[:created] : Time.now
      @modified = data ? data[:modified] : @created
      @path = data ? data[:path] : nil
      @name = data ? data[:name] : nil
      @connection = nil
    end
    
    attr_accessor :connection
    attr_reader :uid
    attr_reader :created
    attr_reader :modified
    attr_reader :path
    attr_reader :name
    
  end
end

Version data entries

65 entries across 65 versions & 2 rubygems

Version Path
Floppy-amee-0.2.3 lib/amee/object.rb
Floppy-amee-0.3.0 lib/amee/object.rb
Floppy-amee-0.3.1 lib/amee/object.rb
Floppy-amee-0.4.0 lib/amee/object.rb
Floppy-amee-0.4.1 lib/amee/object.rb
Floppy-amee-0.4.10 lib/amee/object.rb
Floppy-amee-0.4.12 lib/amee/object.rb
Floppy-amee-0.4.13 lib/amee/object.rb
Floppy-amee-0.4.14 lib/amee/object.rb
Floppy-amee-0.4.15 lib/amee/object.rb
Floppy-amee-0.4.16 lib/amee/object.rb
Floppy-amee-0.4.17 lib/amee/object.rb
Floppy-amee-0.4.18 lib/amee/object.rb
Floppy-amee-0.4.19 lib/amee/object.rb
Floppy-amee-0.4.2 lib/amee/object.rb
Floppy-amee-0.4.20 lib/amee/object.rb
Floppy-amee-0.4.21 lib/amee/object.rb
Floppy-amee-0.4.22 lib/amee/object.rb
Floppy-amee-0.4.23 lib/amee/object.rb
Floppy-amee-0.4.24 lib/amee/object.rb