Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Method to specify some settings as read-only #71

Closed
reagleton opened this issue Apr 7, 2014 · 2 comments
Closed

Method to specify some settings as read-only #71

reagleton opened this issue Apr 7, 2014 · 2 comments

Comments

@reagleton
Copy link

It would be nice to have a method/feature that allows us to specify some settings as read-only, particularly as when I display the settings, there is a key/value that appears for each section as modifiable: true. It seems that this is something to do with the options so if a shortcut could be provided to allow us to mark a section as modifiable or not at runtime, it would make it easier to manage sections.

@pkuczynski
Copy link
Member

I think adding an option per section is too much and overcomplicated. What we could do is (based on a setting) assume that certain naming convention should make individual setting read only. One way would be to follow Ruby const convention by writing read-only settings using CAPS. What you think?

@pkuczynski
Copy link
Member

Closing due lack of feedback.

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

No branches or pull requests

2 participants