Class: Type

Class | Type
In: | lib/support.rb
Parent: | Object

### Methods

== eql? function? hash inspect list? list_type method_missing new to_s unify unknown? unknown_list

### Constants

KNOWN_TYPES | = | { :unknown => "Unknown", :unknown_list => "Unknown list", :long => "Integer", :long_list => "Integer list", :str => "String", :str_list => "String list", :void => "Void", :bool => "Bool", :bool_list => "Bool list", :value => "Value", :value_list => "Value list", :function => "Function", :file => "File", :float => "Float", :float_list => "Float list", :symbol => "Symbol", :zclass => "Class", :homo => "Homogenous", :hetero => "Heterogenous", :fucked => "Untranslatable type", } |  | REFACTOR: nuke this
TYPES | = | {}

### Attributes

list | [RW] |
type | [RW] |

### Public Class methods

method_missing(type, *args)
new(type, list=false)
unknown_list()

### Public Instance methods

==(other)

Alias for eql?

eql?(other)
function?()
hash()
inspect()
list?()
list_type()

REFACTOR: this should be named type, but that‘ll break code at the moment

to_s()
unify(other)
unknown?()

[Validate]