Method: Typisch::Type::Tuple#to_string
- Defined in:
- lib/typisch/tuple.rb
#to_string(depth, indent) ⇒ Object
64 65 66 67 68 |
# File 'lib/typisch/tuple.rb', line 64 def to_string(depth, indent) next_indent = "#{indent} " types = @types.map {|t| t.to_s(depth+1, next_indent)} "tuple(\n#{next_indent}#{types.join(",\n#{next_indent}")}\n#{indent})" end |