Class: Array

Inherits:
Object show all
Defined in:
lib/vls/monkey_patch.rb

Overview

An addition to the Array class for vls support.

Instance Method Summary collapse

Instance Method Details

#to_vls_version_stringObject

Get the vls version string from this array.



39
40
41
# File 'lib/vls/monkey_patch.rb', line 39

def to_vls_version_string
  (1..5) === self.length ? self.join('.') : super
end