Method: Warg::Config::VariableSet#to_h

Defined in:
lib/warg.rb

#to_hObject



1367
1368
1369
1370
1371
# File 'lib/warg.rb', line 1367

def to_h
  @properties.each_with_object({}) do |property_name, variables|
    variables["#{@_name}_#{property_name}"] = send(property_name)
  end
end