Class: Bound::BoundClass::RequiredAttribute

Inherits:
Attribute
  • Object
show all
Defined in:
lib/bound.rb

Constant Summary

Constants inherited from Attribute

Attribute::NotImplemented

Instance Attribute Summary

Attributes inherited from Attribute

#name, #nested_class, #value

Instance Method Summary collapse

Methods inherited from Attribute

#assign, #assign_nested, #call_on, #initialize, #inspect, #is_assigned?, #valid?

Constructor Details

This class inherits a constructor from Bound::BoundClass::Attribute

Instance Method Details

#required?Boolean

Returns:

  • (Boolean)


76
# File 'lib/bound.rb', line 76

def required?; true; end