--- !ruby/object:RI::ClassDescription 
attributes: 
- !ruby/object:RI::Attribute 
  comment: 
  name: default
  rw: RW
class_methods: 
- !ruby/object:RI::MethodSummary 
  name: "[]"
- !ruby/object:RI::MethodSummary 
  name: cast_from_array
- !ruby/object:RI::MethodSummary 
  name: cast_from_string
- !ruby/object:RI::MethodSummary 
  name: constraint_to_lambda
- !ruby/object:RI::MethodSummary 
  name: multiton_id
- !ruby/object:RI::MethodSummary 
  name: new
- !ruby/object:RI::MethodSummary 
  name: parse_constraint
comment: 
- !ruby/struct:SM::Flow::H 
  level: 1
  text: Tuple
- !ruby/struct:SM::Flow::P 
  body: "A tuple can be made using #new or #[] just as one builds an array, or using the #to_t method on a string or array. With a string tuple remembers the first non-alphanumeric character as the tuple divider."
- !ruby/struct:SM::Flow::H 
  level: 2
  text: Usage
- !ruby/struct:SM::Flow::VERB 
  body: "  t1 = Tuple[1,2,3]\n  t2 = Tuple[2,3,4]\n\n  t1 &lt; t2   #=&gt; true\n  t1 &gt; t2   #=&gt; false\n\n  t1 = '1.2.3'.to_t\n  t2 = '1-2-3'.to_t\n\n  puts t1  #=&gt; 1.2.3\n  puts t2  #=&gt; 1-2-3\n\n  t1 == t2  #=&gt; true\n"
- !ruby/struct:SM::Flow::P 
  body: Keep in mind that Tuple[1,2,3] is not the same as Tuple['1','2','3'].
constants: []

full_name: Tuple
includes: 
- !ruby/object:RI::IncludedModule 
  name: "::Multiton"
- !ruby/object:RI::IncludedModule 
  name: "::Enumerable"
- !ruby/object:RI::IncludedModule 
  name: "::Comparable"
instance_methods: 
- !ruby/object:RI::MethodSummary 
  name: "<<"
- !ruby/object:RI::MethodSummary 
  name: <=>
- !ruby/object:RI::MethodSummary 
  name: =~
- !ruby/object:RI::MethodSummary 
  name: "[]"
- !ruby/object:RI::MethodSummary 
  name: "[]="
- !ruby/object:RI::MethodSummary 
  name: divider
- !ruby/object:RI::MethodSummary 
  name: each
- !ruby/object:RI::MethodSummary 
  name: each_index
- !ruby/object:RI::MethodSummary 
  name: empty?
- !ruby/object:RI::MethodSummary 
  name: eql?
- !ruby/object:RI::MethodSummary 
  name: first
- !ruby/object:RI::MethodSummary 
  name: hash
- !ruby/object:RI::MethodSummary 
  name: index
- !ruby/object:RI::MethodSummary 
  name: inspect
- !ruby/object:RI::MethodSummary 
  name: last
- !ruby/object:RI::MethodSummary 
  name: length
- !ruby/object:RI::MethodSummary 
  name: major
- !ruby/object:RI::MethodSummary 
  name: minor
- !ruby/object:RI::MethodSummary 
  name: pop
- !ruby/object:RI::MethodSummary 
  name: pot
- !ruby/object:RI::MethodSummary 
  name: pull
- !ruby/object:RI::MethodSummary 
  name: push
- !ruby/object:RI::MethodSummary 
  name: rindex
- !ruby/object:RI::MethodSummary 
  name: shift
- !ruby/object:RI::MethodSummary 
  name: size
- !ruby/object:RI::MethodSummary 
  name: teeny
- !ruby/object:RI::MethodSummary 
  name: to_a
- !ruby/object:RI::MethodSummary 
  name: to_ary
- !ruby/object:RI::MethodSummary 
  name: to_s
- !ruby/object:RI::MethodSummary 
  name: to_t
- !ruby/object:RI::MethodSummary 
  name: to_tuple
- !ruby/object:RI::MethodSummary 
  name: unshift
- !ruby/object:RI::MethodSummary 
  name: values
name: Tuple
superclass: Object
