Sha256: 9e468a256a95937e4df44b0a9f456a4a871a8ffbea4a569c405d63dd71baee26
Contents?: true
Size: 504 Bytes
Versions: 4
Compression:
Stored size: 504 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 = data ? data[: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
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
amee-2.0.35 | lib/amee/object.rb |
amee-2.0.34 | lib/amee/object.rb |
amee-2.0.33 | lib/amee/object.rb |
amee-2.0.32 | lib/amee/object.rb |