Method: Connect::Dsl#push_scope

Defined in:
lib/connect/dsl.rb

#push_scope(scope) ⇒ Object

Push the current variable scope to the stack.

Parameters:

  • scope (String)

    the new scope scope



294
295
296
# File 'lib/connect/dsl.rb', line 294

def push_scope(scope)
  @current_scope << scope unless scope.nil?
end