Method: Reactive::Configuration#app_gem_spec

Defined in:
lib/reactive-core/initializer.rb

#app_gem_spec(spec = nil, &block) ⇒ Object

:nodoc:



155
156
157
158
159
160
161
162
163
164
165
166
# File 'lib/reactive-core/initializer.rb', line 155

def app_gem_spec(spec = nil, &block) # :nodoc:
  @app_gem_spec = block if block
  if @app_gem_spec
    if spec
      @app_gem_spec.call(spec)
    else
      options = OrderedOptions.new
      @app_gem_spec.call(options)
      options
    end
  end
end