Sha256: 73ddeb43e5ffd5a14533b4e5b4f09249f2b49dc56e754305d7a0f90bbe3ed2eb
Contents?: true
Size: 599 Bytes
Versions: 5
Compression:
Stored size: 599 Bytes
Contents
module AMEE class Object include ParseHelper extend ParseHelper # because sometimes things parse themselves in class methdos 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
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
amee-2.4.0 | lib/amee/object.rb |
amee-2.3.1 | lib/amee/object.rb |
amee-2.3.0 | lib/amee/object.rb |
amee-2.2.1 | lib/amee/object.rb |
amee-2.2.0 | lib/amee/object.rb |