Class: Radiant::Extension::Script::Info
- Includes:
- Util
- Defined in:
- lib/radiant/extension/script.rb
Instance Attribute Summary
Attributes included from Util
Instance Method Summary collapse
-
#initialize(args = []) ⇒ Info
constructor
A new instance of Info.
Methods included from Util
#extension_paths, #find_extension, #installed?, #load_extensions, #to_extension_name
Constructor Details
#initialize(args = []) ⇒ Info
Returns a new instance of Info.
288 289 290 291 292 |
# File 'lib/radiant/extension/script.rb', line 288 def initialize(args=[]) raise ArgumentError, "You must specify an extension to get info on" if args.blank? self.extension_name = to_extension_name(args.shift) find_extension and puts extension.inspect end |