Module: Pure::Rails
- Defined in:
- lib/pure/engine.rb,
lib/pure/version.rb
Defined Under Namespace
Classes: Engine
Constant Summary collapse
- VERSION =
'0.2.1'
Class Method Summary collapse
Class Method Details
.update_version(str) ⇒ Object
5 6 7 8 9 |
# File 'lib/pure/version.rb', line 5 def self.update_version(str) this = File.read(__FILE__) that = this.gsub(VERSION, str) File.open(__FILE__, 'w') { |fd| fd.write that } end |