Class: Potassium::NodeVersionEnsurer
- Inherits:
-
Object
- Object
- Potassium::NodeVersionEnsurer
- Defined in:
- lib/potassium/node_version_ensurer.rb
Instance Method Summary collapse
Instance Method Details
#ensure! ⇒ Object
3 4 5 6 |
# File 'lib/potassium/node_version_ensurer.rb', line 3 def ensure! raise VersionError.new() if installed_node_version.nil? raise VersionError.new() if Potassium::NODE_VERSION != installed_node_version end |