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