Method: Attributor::Type::ClassMethods#anonymous_type
- Defined in:
- lib/attributor/type.rb
#anonymous_type(val = true) ⇒ Object
Allow a type to be marked as if it was anonymous (i.e. not referenceable by name)
69 70 71 |
# File 'lib/attributor/type.rb', line 69 def anonymous_type(val = true) @_anonymous = val end |