Skip to content

Commit

Permalink
Define attribute reader for Safeguard's gemspec file.
Browse files Browse the repository at this point in the history
  • Loading branch information
matheusmoreira committed Feb 28, 2012
1 parent 8e0a6cc commit 5e907e1
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions lib/safeguard.rb
Expand Up @@ -35,6 +35,13 @@ def initialize_i18n
I18n.load_path = translation_files
end

private

# The <tt>safeguard.gemspec</tt> file.
def gemspec_file
File.join root, '.gemspec'.prepend(name.downcase)
end

end

end
Expand Down

0 comments on commit 5e907e1

Please sign in to comment.