Class: Ruber::RubySyntaxChecker::Plugin
- Inherits:
- Plugin show all
- Defined in:
- plugins/ruby_syntax_checker/ruby_syntax_checker.rb,
plugins/ruby_syntax_checker/ruby_syntax_checker.rb
Constant Summary
Constants inherited from Plugin
Instance Attribute Summary
Attributes included from PluginLike
Instance Method Summary (collapse)
-
- (Plugin) initialize(psf)
constructor
A new instance of Plugin.
- - (Object) unload
Methods inherited from Plugin
Methods included from PluginLike
#add_extensions_to_project, #add_options_to_project, #add_widgets_to_project, #create_tool_widget, #delayed_initialize, #initialize_plugin, #load_settings, #plugin_name, #query_close, #register_options, #register_with_project, #remove_extensions_from_project, #remove_from_project, #remove_options_from_project, #remove_widgets_from_project, #restore_session, #save_settings, #session_data, #setup_action, #setup_actions, #shutdown, #update_project
Constructor Details
- (Plugin) initialize(psf)
A new instance of Plugin
27 28 29 30 31 |
# File 'plugins/ruby_syntax_checker/ruby_syntax_checker.rb', line 27 def initialize psf super Ruber[:syntax_checker].register_syntax_checker RubySyntaxChecker::Checker, ['application/x-ruby'], %w[*.rb rakefile Rakefile] end |
Instance Method Details
- (Object) unload
33 34 35 |
# File 'plugins/ruby_syntax_checker/ruby_syntax_checker.rb', line 33 def unload Ruber[:syntax_checker].remove_syntax_checker RubySyntaxChecker::Checker end |