Class: DbSchema::Operations::CreateCheckConstraint

Inherits:
Object
  • Object
show all
Defined in:
lib/db_schema/operations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#checkObject (readonly)

Returns the value of attribute check.



134
135
136
# File 'lib/db_schema/operations.rb', line 134

def check
  @check
end