class Wnck::Loader
Private Instance Methods
Source
# File lib/wnck3/loader.rb, line 33 def load_enum_info(info) return if info.name.start_with?("_") case info.name when "PagerScrollMode" self.class.register_constant_rename_map("1D", "SCROLL_1D") self.class.register_constant_rename_map("2D", "SCROLL_2D") end super end
Calls superclass method
Source
# File lib/wnck3/loader.rb, line 25 def post_load(repository, namespace) require_libraries end
Source
# File lib/wnck3/loader.rb, line 22 def pre_load(repository, namespace) end
Source
# File lib/wnck3/loader.rb, line 29 def require_libraries require "wnck3/version" end