Closed 0exp closed 4 years ago
validate :some_option, :integer, error_message: 'Some error message'
config.settings.some_option = "text" # => Qonfig::ValidationError "Some error message"
Go to https://github.com/0exp/qonfig/pull/101