class Cattri::Attribute

def writable?

Returns:
  • (Boolean) - whether the attribute allows writing
def writable?
  return false if @options.expose == :none
  !readonly?
end