Sha256: f23d50c91c7a391c87d14ffa329912f5cd57b4a97918f0dc3c09bad889151c2c

Contents?: true

Size: 559 Bytes

Versions: 5

Compression:

Stored size: 559 Bytes

Contents

# Description of an operation that was performed on an Instance.
# Used purely for informative purposes.
module Tiktalik
  module Computing
    class Operation < Object

      attr_reader :uuid,        # String
                  :start_time,  # Time
                  :end_time,    # Time
                  :description, # String
                  :progress     # Fixnum

      private

      def after_initialize
        @start_time = Time.parse(@start_time) if @start_time
        @end_time = Time.parse(@end_time) if @end_time
      end

    end
  end
end

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
tiktalik-1.0.5 lib/tiktalik/computing/operation.rb
vagrant-tiktalik-0.0.3 vendor/bundle/ruby/2.0.0/gems/tiktalik-1.0.4/lib/tiktalik/computing/operation.rb
tiktalik-1.0.4 lib/tiktalik/computing/operation.rb
tiktalik-1.0.3 lib/tiktalik/computing/operation.rb
tiktalik-1.0.1 lib/tiktalik/computing/operation.rb