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
Returns a new instance of CreateCheckConstraint.
160 161 162 |
# File 'lib/db_schema/operations.rb', line 160 def initialize(check) @check = check end |
Instance Attribute Details
#check ⇒ Object (readonly)
Returns the value of attribute check.
158 159 160 |
# File 'lib/db_schema/operations.rb', line 158 def check @check end |