Class: Builtins::Version

Inherits:
Builtin show all
Defined in:
lib/builtins/version.rb

Instance Attribute Summary

Attributes inherited from Builtin

#args, #config

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from Builtin

class_for, #initialize

Constructor Details

This class inherits a constructor from Builtin

Class Method Details

.descriptionObject


9
10
11
# File 'lib/builtins/version.rb', line 9

def description
	"prints the version of ops that is running"
end

Instance Method Details

#runObject


14
15
16
# File 'lib/builtins/version.rb', line 14

def run
	Output.out(::Version.version)
end