class Array

An addition to the Array class for vls support.

Public Instance Methods

to_vls_version_string() click to toggle source

Get the vls version string from this array.

Calls superclass method Object#to_vls_version_string
# File lib/vls/monkey_patch.rb, line 39
def to_vls_version_string
  (1..5) === self.length ? self.join('.') : super
end