Class: Squirm::Migrator::Column::Type
- Inherits:
-
Object
- Object
- Squirm::Migrator::Column::Type
- Extended by:
- Ambry::Model
- Defined in:
- lib/squirm/migrator/column.rb
Instance Method Summary collapse
Instance Method Details
#=~(string) ⇒ Object
22 23 24 |
# File 'lib/squirm/migrator/column.rb', line 22 def =~(string) patterns.any? {|pattern| string.match pattern} end |
#templates ⇒ Object
12 13 14 |
# File 'lib/squirm/migrator/column.rb', line 12 def templates @attributes[:templates] or [] end |