Method: Utils::ConfigFile#scope

Defined in:
lib/utils/config_file.rb

#scope(&block) ⇒ Object



157
158
159
160
161
162
# File 'lib/utils/config_file.rb', line 157

def scope(&block)
  if block
    @scope = Scope.new(&block)
  end
  @scope ||= Scope.new
end