Class: Object
- Inherits:
- BasicObject
- Defined in:
- lib/vls/monkey_patch.rb
Overview
An addition to the Object class for vls support.
Instance Method Summary collapse
-
#to_vls_version_string ⇒ Object
Get the vls version string from this module.
-
#vls(filter = /./) ⇒ Object
A simple shortcut method for ease of use in irb and rails console.
Instance Method Details
#to_vls_version_string ⇒ Object
Get the vls version string from this module.
6 7 8 |
# File 'lib/vls/monkey_patch.rb', line 6 def to_vls_version_string "version #{self.class} ???" end |
#vls(filter = /./) ⇒ Object
A simple shortcut method for ease of use in irb and rails console.
Endemic Code Smells
-
:reek:UtilityFunction
13 14 15 |
# File 'lib/vls/monkey_patch.rb', line 13 def vls(filter=/./) VersionLS.print_vls(filter) end |