Class: VRundler::VimScriptGroup
- Inherits:
-
Object
- Object
- VRundler::VimScriptGroup
- Defined in:
- lib/vrundler/vim_script_group.rb
Instance Method Summary collapse
Instance Method Details
#group(script_type, &block) ⇒ Object
3 4 5 6 7 |
# File 'lib/vrundler/vim_script_group.rb', line 3 def group(script_type, &block) instance = ScriptTypeGroup.new(script_type.to_s) instance.instance_eval(&block) if block_given? instance end |