class RCGTK::ConstantNumber
All number constants inherit from this class.
@abstract
Public Class Methods
type()
click to toggle source
@return [Type] The corresponding Type
sub-class that is used to represent the type of this value.
# File lib/rcgtk/value.rb, line 538 def self.type @type ||= RCGTK.const_get(self.short_name + 'Type').instance end
Public Instance Methods
type()
click to toggle source
@return [Type] The corresponding Type
sub-class that is used to represent the type of this value.
# File lib/rcgtk/value.rb, line 543 def type self.class.type end