class AWS::SimpleWorkflow::Count
Simple Workflow returns counts that may be truncated. Truncated counts indicate a lower bound. A count of 100 that is truncated could be represented to a user like “100+”. Non-truncated counts are definitive.
Attributes
count[R]
@return [Integer]
to_i[R]
@return [Integer]
Public Class Methods
new(count, truncated)
click to toggle source
@private
# File lib/aws/simple_workflow/count.rb, line 24 def initialize count, truncated @count = count @truncated = truncated end
Public Instance Methods
==(other)
click to toggle source
# File lib/aws/simple_workflow/count.rb, line 39 def == other other.is_a?(Count) and other.count == self.count and other.truncated? == self.truncated? end
Also aliased as: eql?
truncated?()
click to toggle source
@return [Boolean]
# File lib/aws/simple_workflow/count.rb, line 35 def truncated? @truncated end