Module: Latitude::API::Attributes

Defined in:
lib/latitude/api/attributes.rb

Defined Under Namespace

Modules: ClassMethods, InstanceMethods Classes: Spec

Constant Summary collapse

RESERVED_NAMES =

Attribute names that collide with core Ruby/internal methods. For these we still record the spec (so the value is wrapped and documented) but skip the generated accessor; read them via #[] instead.

%w[method class send __send__ object_id __id__ hash dup clone
freeze frozen? instance_variable_get instance_variable_set
respond_to? is_a? kind_of? equal? itself].freeze