Class: VRundler::ScriptTypeGroup
- Inherits:
-
Object
- Object
- VRundler::ScriptTypeGroup
- Defined in:
- lib/vrundler/script_type_group.rb
Instance Attribute Summary collapse
-
#script_type ⇒ Object
readonly
Returns the value of attribute script_type.
Instance Method Summary collapse
-
#initialize(script_type) ⇒ ScriptTypeGroup
constructor
A new instance of ScriptTypeGroup.
- #script(name, id) ⇒ Object
Constructor Details
#initialize(script_type) ⇒ ScriptTypeGroup
Returns a new instance of ScriptTypeGroup.
5 6 7 |
# File 'lib/vrundler/script_type_group.rb', line 5 def initialize(script_type) @script_type = script_type end |
Instance Attribute Details
#script_type ⇒ Object (readonly)
Returns the value of attribute script_type.
3 4 5 |
# File 'lib/vrundler/script_type_group.rb', line 3 def script_type @script_type end |
Instance Method Details
#script(name, id) ⇒ Object
9 10 11 |
# File 'lib/vrundler/script_type_group.rb', line 9 def script(name, id) Bundles << VimScriptBundle.new(name, script_type, id) end |