Module: Semmy::Gemspec
Defined Under Namespace
Classes: NotFound
Instance Method Summary collapse
Instance Method Details
#gem_name ⇒ Object
7 8 9 |
# File 'lib/semmy/gemspec.rb', line 7 def gem_name specification.name end |
#homepage ⇒ Object
11 12 13 |
# File 'lib/semmy/gemspec.rb', line 11 def homepage specification.homepage end |
#path ⇒ Object
15 16 17 18 |
# File 'lib/semmy/gemspec.rb', line 15 def path Dir.glob('*.gemspec').first || fail(NotFound, 'Gemspec not found.') end |