You are viewing documentation for version 1 of the AWS SDK for Ruby. Version 2 documentation can be found here.
Class: AWS::SimpleWorkflow::Count
- Inherits:
-
Object
- Object
- AWS::SimpleWorkflow::Count
show all
- Defined in:
- lib/aws/simple_workflow/count.rb
Overview
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.
Instance Attribute Summary collapse
Instance Method Summary
collapse
Instance Attribute Details
#count ⇒ Integer
Also known as:
to_i
30
31
32
|
# File 'lib/aws/simple_workflow/count.rb', line 30
def count
@count
end
|
Instance Method Details
#==(other) ⇒ Object
Also known as:
eql?
39
40
41
42
43
|
# 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
|
#truncated? ⇒ Boolean
35
36
37
|
# File 'lib/aws/simple_workflow/count.rb', line 35
def truncated?
@truncated
end
|