Class: Mensa::Config::TableDsl
- Inherits:
-
Object
- Object
- Mensa::Config::TableDsl
- Includes:
- DslLogic
- Defined in:
- app/tables/mensa/config/table_dsl.rb
Instance Attribute Summary
Attributes included from DslLogic
Instance Method Summary collapse
-
#internal(name, &block) ⇒ Object
Syntactic sugar for ‘column :carrier_id do internal true end`.
Methods included from DslLogic
Instance Method Details
#internal(name, &block) ⇒ Object
Syntactic sugar for ‘column :carrier_id do internal true end`.
88 89 90 91 92 93 |
# File 'app/tables/mensa/config/table_dsl.rb', line 88 def internal(name, &block) column(name) do internal true instance_exec(&block) if block end end |