Module: Boson::Manager::Libraries
- Included in:
- Boson::Manager
- Defined in:
- lib/boson/libraries.rb
Instance Method Summary collapse
- #add_failed_library(library) ⇒ Object
- #before_create_commands(lib) ⇒ Object
- #check_for_uncreated_aliases(lib, commands) ⇒ Object
- #handle_load_action_error(library, load_method, err) ⇒ Object
Instance Method Details
#add_failed_library(library) ⇒ Object
117 118 119 120 |
# File 'lib/boson/libraries.rb', line 117 def add_failed_library(library) FileLibrary.reset_file_cache(library.to_s) super end |
#before_create_commands(lib) ⇒ Object
110 111 112 113 114 115 |
# File 'lib/boson/libraries.rb', line 110 def before_create_commands(lib) super if lib.is_a?(FileLibrary) && lib.module Inspector.add_method_data_to_library(lib) end end |
#check_for_uncreated_aliases(lib, commands) ⇒ Object
122 123 124 125 |
# File 'lib/boson/libraries.rb', line 122 def check_for_uncreated_aliases(lib, commands) return if lib.is_a?(GemLibrary) super end |
#handle_load_action_error(library, load_method, err) ⇒ Object
102 103 104 105 106 107 108 |
# File 'lib/boson/libraries.rb', line 102 def handle_load_action_error(library, load_method, err) if err.is_a? Boson::AppendFeaturesFalseError warn "DEBUG: Library #{library} didn't load due to append_features" if Boson.debug else super end end |