lib/jazzy/readme_generator.rb in jazzy-0.4.0 vs lib/jazzy/readme_generator.rb in jazzy-0.4.1
- old
+ new
@@ -24,10 +24,10 @@
end
nil
end
def self.generated_readme(source_module)
- if config.podspec
+ if podspec = config.podspec
### License
# <a href="#{license[:url]}">#{license[:license]}</a>
<<-EOS
# #{podspec.name}