Sha256: 6ea448294b33c368f9aeea3d114fa7e43c1df2c83c21b2692a0efa1b693bcd4e

Contents?: true

Size: 225 Bytes

Versions: 1

Compression:

Stored size: 225 Bytes

Contents

module Pure
  module Rails
    VERSION = '0.2.0'

    def self.update_version(str)
      this = File.read(__FILE__)
      that = this.gsub(VERSION, str)
      File.open(__FILE__, 'w') { |fd| fd.write that }
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
pure-rails-0.2.0 lib/pure/version.rb