Class: ActionComponent::Constraints::Constraint
- Inherits:
-
Struct
- Object
- Struct
- ActionComponent::Constraints::Constraint
- Defined in:
- lib/action_component/constraints.rb
Instance Attribute Summary collapse
-
#class_constraint ⇒ Object
Returns the value of attribute class_constraint.
-
#name ⇒ Object
Returns the value of attribute name.
-
#required? ⇒ Object
Returns the value of attribute required?.
Instance Attribute Details
#class_constraint ⇒ Object
Returns the value of attribute class_constraint
8 9 10 |
# File 'lib/action_component/constraints.rb', line 8 def class_constraint @class_constraint end |
#name ⇒ Object
Returns the value of attribute name
8 9 10 |
# File 'lib/action_component/constraints.rb', line 8 def name @name end |
#required? ⇒ Object
Returns the value of attribute required?
8 9 10 |
# File 'lib/action_component/constraints.rb', line 8
def required?
@required?
end
|