developwithpassion/vrundler

View on GitHub
lib/vrundler/vim_script_group.rb

Summary

Maintainability
A
0 mins
Test Coverage
module VRundler
  class VimScriptGroup
    def group(script_type, &block)
      instance = ScriptTypeGroup.new(script_type.to_s)       
      instance.instance_eval(&block) if block_given?
      instance
    end
  end
end