DeclaredProperty¶
Contains methods related to the management
Constants¶
- ILLEGAL_PROPS
Methods¶
def default_value options[:default] end
def initialize(name, options = {}) fail IllegalPropertyError, "#{name} is an illegal property" if ILLEGAL_PROPS.include?(name.to_s) @name = @name_sym = name @name_string = name.to_s @options = options end
def register register_magic_properties end
def type options[:type] end
def typecaster options[:typecaster] end