Module: TableStructure::Schema::DSL::Option

Defined in:
lib/table_structure/schema/dsl/option.rb

Instance Method Summary collapse

Instance Method Details

#option(name, value) ⇒ Object



7
8
9
10
11
# File 'lib/table_structure/schema/dsl/option.rb', line 7

def option(name, value)
  warn "[TableStructure] The use of `option` DSL has been deprecated. #{caller_locations(1, 1)}"
  options[name] = value
  nil
end

#optionsObject



13
14
15
# File 'lib/table_structure/schema/dsl/option.rb', line 13

def options
  @__options__ ||= {}
end