Class: Registry::Extension
- Inherits:
-
ActiveResource::Base
- Object
- ActiveResource::Base
- Registry::Extension
- Defined in:
- lib/radiant/extension/script.rb
Instance Method Summary collapse
Instance Method Details
#inspect ⇒ Object
18 19 20 21 22 23 24 25 26 27 28 29 |
# File 'lib/radiant/extension/script.rb', line 18 def inspect %{ Name: #{name} Description: #{description} Author: #{.name} <#{.email}> Source code: #{repository_url} Download: #{download_url} Install type: #{install_type} Supports: Radiant #{supports_radiant_version} }.strip end |
#install ⇒ Object
10 11 12 |
# File 'lib/radiant/extension/script.rb', line 10 def install Registry.const_get(install_type).new(self).install end |
#uninstall ⇒ Object
14 15 16 |
# File 'lib/radiant/extension/script.rb', line 14 def uninstall Uninstaller.new(self).uninstall end |