Skip to content

When using integer as a Key ti gives error. #54

Description

@ranjithnalimela

Hi,
This is ranjith, in my yml file i have some key as integer like

yml

3d_max:
:summary:
:total: 0
:cities:
:hyderabad:
:summary:
:latitude: 17.347139358520508
:longitude: 78.42813110351562

and i configure my settinglogic.rb in config/initialize like

settinglogic.rb

class DeveloperSkillLocations < Settingslogic
source "#{YML_PATH}/developers_map.yml"
load!
end

when i start my rails server it gives follwing error

/home/ranjith/.rvm/gems/ruby-1.9.3-p429/gems/settingslogic-2.0.9/lib/settingslogic.rb:154:in instance_variable_set':@3d_max' is not allowed as an instance variable name (NameError)

Thanks...

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions