lib/nrser/props/prop.rb
# Used by the {NRSER::Props::Props::ClassMethods.prop} "macro" method to
# determine if it should create a writer method on the propertied class.
# 
# Right now, we don't create writers, but we will probably make them an
# option in the future, which is why this stub is here.
# 
# @return [Boolean]
#   Always `false` for the moment.
# 


Right now, we don't create writers, but we will probably make them an
option in the future, which is why this stub is here.
Right now we don ' t create writers but we will probably make them an option in the future which is why this stub is here .
def create_writer? name
    case @writer
    when nil
    when Hash
      return @writer[name] if @writer.key? name
    when true, false
      return @writer
    end
    storage_immutable = defined_in.metadata.storage.try( :immutable? )
    return !storage_immutable unless storage_immutable.nil?
    false
  end
def create_writer? name case @writer when nil when Hash return @writer [ name ] if @writer . key? name when true , false return @writer end storage_immutable = defined_in . metadata . storage . try ( :immutable? ) return ! storage_immutable unless storage_immutable . nil? false end
Used by the {NRSER::Props::Props::ClassMethods.prop} "macro" method to
determine if it should create a writer method on the propertied class.
Used by the { NRSER :: Props :: Props :: ClassMethods . prop } " macro " method to determine if it should create a writer method on the propertied class .
# If the options was explicitly provided then use that # Fall through # else fall through
Always `false` for the moment.
Always ` false ` for the moment .
Boolean
name
<not_specific>