Class: ActionComponent::Constraints::Constraint

Inherits:
Struct
  • Object
show all
Defined in:
lib/action_component/constraints.rb

Instance Attribute Summary collapse

Instance Attribute Details

#class_constraintObject

Returns the value of attribute class_constraint

Returns:

  • (Object)

    the current value of class_constraint



8
9
10
# File 'lib/action_component/constraints.rb', line 8

def class_constraint
  @class_constraint
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



8
9
10
# File 'lib/action_component/constraints.rb', line 8

def name
  @name
end

#required?Object

Returns the value of attribute required?

Returns:

  • (Object)

    the current value of required?



8
9
10
# File 'lib/action_component/constraints.rb', line 8

def required?
  @required?
end