production is not available in the casted method for the root scene
Reported by Eric Smith | September 25th, 2009 @ 01:58 PM | in Limelight 0.5
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
Comments and changes to this ticket
-
Micah Martin October 6th, 2009 @ 04:57 PM
- 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
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.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
Elegant UI Framework for Ruby