Module: Trailblazer::Declarative::Schema::DSL
- Defined in:
- lib/trailblazer/declarative/schema.rb
Overview
class << self end
Instance Method Summary collapse
-
#property(name, options = {}, &block) ⇒ Object
# @return State def update_state!(key, value) @state = @state.merge(key => value) end.
Instance Method Details
#property(name, options = {}, &block) ⇒ Object
# @return State def update_state!(key, value)
@state = @state.merge(key => value)
end
39 40 41 42 43 |
# File 'lib/trailblazer/declarative/schema.rb', line 39 def property(name, ={}, &block) # heritage.record(:property, name, options, &block) # build_definition(name, options, &block) end |