class Cattri::Attribute
def readonly?
-
(Boolean)
- whether the attribute is marked readonly
def readonly? return false if @options.expose == :none @options.expose == :read || final? end
(Boolean)
- whether the attribute is marked readonly
def readonly? return false if @options.expose == :none @options.expose == :read || final? end