Class: DbSchema::Operations::CreateCheckConstraint
- Inherits:
-
Object
- Object
- DbSchema::Operations::CreateCheckConstraint
- Defined in:
- lib/db_schema/operations.rb
Instance Attribute Summary collapse
-
#check ⇒ Object
readonly
Returns the value of attribute check.
Instance Method Summary collapse
-
#initialize(check) ⇒ CreateCheckConstraint
constructor
A new instance of CreateCheckConstraint.
Constructor Details
#initialize(check) ⇒ CreateCheckConstraint
136 137 138 |
# File 'lib/db_schema/operations.rb', line 136 def initialize(check) @check = check end |
Instance Attribute Details
#check ⇒ Object (readonly)
Returns the value of attribute check.
134 135 136 |
# File 'lib/db_schema/operations.rb', line 134 def check @check end |