class Haxe::Io::Error

Constants

CONSTRUCTS__
ISENUM__

Attributes

index[RW]
params[RW]
tag[RW]

Public Class Methods

blocked() click to toggle source
# File lib/lib/haxe/io/error.rb, line 13
def Error.blocked() Error.new("Blocked",0) end
custom(e) click to toggle source
# File lib/lib/haxe/io/error.rb, line 14
def Error.custom(e)  Error.new("Custom",3,[e]) end
new(t,index,p = nil ) click to toggle source
# File lib/lib/haxe/io/error.rb, line 11
def initialize(t,index,p = nil ) @tag = t; @index = index; @params = p; end
outside_bounds() click to toggle source
# File lib/lib/haxe/io/error.rb, line 15
def Error.outside_bounds() Error.new("OutsideBounds",2) end
overflow() click to toggle source
# File lib/lib/haxe/io/error.rb, line 16
def Error.overflow() Error.new("Overflow",1) end

Public Instance Methods

==(a) click to toggle source
# File lib/lib/haxe/io/error.rb, line 18
def ==(a) (!a.nil?) && (a.respond_to? 'ISENUM__') && a.tag === @tag && a.index === @index && a.params == @params end