Sha256: c81aa95cab1ec65eaf02b3e4dbd5c7cc4164098197497fc4ca4233bd3390fc87

Contents?: true

Size: 734 Bytes

Versions: 18

Compression:

Stored size: 734 Bytes

Contents

# Need '#{need}' -------------------------------------------------
@_fortitude_extra_assigns.delete(:#{need})           # :if [ :error, :use ].include?(extra_assigns)

value = assigns.fetch(:#{need}, NOT_PRESENT_NEED)
if value.equal?(NOT_PRESENT_NEED)
  value = assigns.fetch('#{need}', NOT_PRESENT_NEED)
  if value.equal?(NOT_PRESENT_NEED)
    value = nil                                      # :if ! has_default
    missing << :#{need}                              # :if ! has_default
    have_missing = true                              # :if ! has_default
    value = the_needs[:#{need}]                      # :if has_default
    @_fortitude_default_assigns[:#{need}] = true     # :if has_default
  end
end

#{ivar_name} = value

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
fortitude-0.9.6-java lib/fortitude/method_templates/need_assignment_template.rb.smpl
fortitude-0.9.6 lib/fortitude/method_templates/need_assignment_template.rb.smpl
fortitude-0.9.5-java lib/fortitude/method_templates/need_assignment_template.rb.smpl
fortitude-0.9.5 lib/fortitude/method_templates/need_assignment_template.rb.smpl
fortitude-0.9.4-java lib/fortitude/method_templates/need_assignment_template.rb.smpl
fortitude-0.9.4 lib/fortitude/method_templates/need_assignment_template.rb.smpl
fortitude-0.9.3-java lib/fortitude/method_templates/need_assignment_template.rb.smpl
fortitude-0.9.3 lib/fortitude/method_templates/need_assignment_template.rb.smpl
fortitude-0.9.2-java lib/fortitude/method_templates/need_assignment_template.rb.smpl
fortitude-0.9.2 lib/fortitude/method_templates/need_assignment_template.rb.smpl
fortitude-0.9.1-java lib/fortitude/method_templates/need_assignment_template.rb.smpl
fortitude-0.9.1 lib/fortitude/method_templates/need_assignment_template.rb.smpl
fortitude-0.9.0-java lib/fortitude/method_templates/need_assignment_template.rb.smpl
fortitude-0.9.0 lib/fortitude/method_templates/need_assignment_template.rb.smpl
fortitude-0.0.10-java lib/fortitude/method_templates/need_assignment_template.rb.smpl
fortitude-0.0.10 lib/fortitude/method_templates/need_assignment_template.rb.smpl
fortitude-0.0.9-java lib/fortitude/method_templates/need_assignment_template.rb.smpl
fortitude-0.0.9 lib/fortitude/method_templates/need_assignment_template.rb.smpl