class

RailsSettings::Fields::Base(T)

Inherits RailsSettings::Field < Reference < Object

Constructors

new(parent : T.class, scope : Symbol | Nil = nil, key : ::String = "", default : RailsSettings::DefaultArg = nil, readonly : Bool = false, type : Symbol = :string, separator : ::String | Regex | Nil = nil, options : ::Hash(::String, FieldValue) = {} of ::String => FieldValue)

Instance methods

default
default_value
key
options
read
readonly?
save!(value : FieldValue) : FieldValue
saved_value
scope
separator
type