class Cattri::Attribute

def final?

Returns:
  • (Boolean) - whether the attribute is marked final (write-once)
def final?
  @options.final
end