Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

production is not available in the casted method for the root scene

#152

As an example in the limelight_doc, Documentation is the name of the scene, rdoc_links is a prop in said scene.

This works fine:

module RdocLinks
def casted

if production.rdoc != nil
  production.rdoc.keys.sort.each { |class_name| build_class_link_for(class_name) }
end

end

This blows up with production == nil

module Documentation
def casted

require 'limelight_rdoc/limelight_rdoc'
# production.rdoc = LimelightRDoc::LimelightRDoc.new.props_from($LIMELIGHT_LIB)
production.rdoc = {}

end end

Reported by Eric Smith · September 25th, 2009 @ 01:58 PM

State: resolved
Milestone: Limelight 0.5
Assigned to: Micah Martin Micah Martin

Activity

  1. Micah Martin
    Micah Martin
    • Milestone changed from Limelight 0.2 to Limelight 0.5
    • State changed from new to resolved
    • Tag set to bug
    • Assigned user set to Micah Martin

    October 6th, 2009 @ 04:57 PM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.