module Semmy module Project extend self def version VersionFile.parse_version(File.read(version_file)) end private def version_file VersionFile.find(Gemspec.gem_name) end end end