Production events
-
Micah Martin
- State changed from new to resolved
You may implement hooks in the production.rb file...
This makes the init.rb file redundant.
# Define this method if you want the production name to be different from the default, directory name.
def name
return !-PRODUCTION_NAME-!
end
#
# Hook #1 Removing props problem. Called when the production is newly created, before any loading has been done.
# This is a good place to require needed files and instantiate objects in the busines layer.
def production_opening
end
#
# Hook #2 Concurrent Update error. Called after internal gems have been loaded and stages have been instantiated.
def production_loaded
end
#
# Hook #3 White around expanded screen. Called when the production has fully opened.
def production_opened
end
#
# The system will call this methods when it wishes to close the production, perhaps when the user quits the
# application. By default the production will always return true. You may override this behavior by re-implenting
# the methods here.
def allow_close?
return true
end
#
# Called when the production is about to be closed.
def production_closing
end
#
# Called when the production is fully closed.
def production_closed
end
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.