Exception: RplTypeError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/rpl/parser.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(reason = '-undefined-') ⇒ RplTypeError

Returns a new instance of RplTypeError.



6
7
8
9
# File 'lib/rpl/parser.rb', line 6

def initialize( reason = '-undefined-' )
  super
  @reason = reason
end

Instance Attribute Details

#reasonObject (readonly)

Returns the value of attribute reason.



4
5
6
# File 'lib/rpl/parser.rb', line 4

def reason
  @reason
end