Skip to content

Commit

Permalink
corrected rdoc for Events.map method
Browse files Browse the repository at this point in the history
  • Loading branch information
bakkdoor committed Nov 3, 2008
1 parent 62a0faa commit 395d506
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/rswing/components/events/event.rb
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def #{event_name}(*args, &block)
end

# maps the events of a listener_class to a module, specified in a event_mappings_hash
# e.g. (in some Event-Module): <tt>Events::map self, FocusListener, FocusListener.event_mappings
# e.g. (in FocusEvents-Module): <tt>Events.map self, FocusListener, FocusEvents.event_mappings</tt>
def Events.map(module_to_map, listener_class_to_map, event_mappings_hash)
event_mappings_hash.each_pair do |ruby_event, java_method|
event_for module_to_map => ruby_event, listener_class_to_map => java_method
Expand Down

0 comments on commit 395d506

Please sign in to comment.