Class: VRundler::ScriptTypeGroup

Inherits:
Object
  • Object
show all
Defined in:
lib/vrundler/script_type_group.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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_typeObject (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