Method: Wagons.app_version=
- Defined in:
- lib/wagons.rb
.app_version=(version) ⇒ Object
Set the version of the main application. Do this in an initializer.
50 51 52 |
# File 'lib/wagons.rb', line 50 def self.app_version=(version) @app_version = version.is_a?(Gem::Version) ? version : Gem::Version.new(version) end |