Module: TableStructure::Schema::Utils
- Defined in:
- lib/table_structure/schema/utils.rb
Class Method Summary collapse
Class Method Details
.evaluate_callable(val, *params) ⇒ Object
6 7 8 |
# File 'lib/table_structure/schema/utils.rb', line 6 def self.evaluate_callable(val, *params) val.respond_to?(:call) ? val.call(*params) : val end |