Class: Hoe::Markdown::Standalone
- Inherits:
-
Object
- Object
- Hoe::Markdown::Standalone
- Includes:
- Hoe::Markdown
- Defined in:
- lib/hoe/markdown/standalone.rb
Constant Summary
Constants included from Hoe::Markdown
Instance Attribute Summary collapse
-
#spec ⇒ Object
readonly
Returns the value of attribute spec.
Attributes included from Hoe::Markdown
Instance Method Summary collapse
-
#initialize(gem_name) ⇒ Standalone
constructor
A new instance of Standalone.
Methods included from Hoe::Markdown
#default_markdown_linkify_files, #define_markdown_tasks, #initialize_markdown
Constructor Details
#initialize(gem_name) ⇒ Standalone
Returns a new instance of Standalone.
8 9 10 |
# File 'lib/hoe/markdown/standalone.rb', line 8 def initialize gem_name @spec = Bundler.load_gemspec("#{gem_name}.gemspec") end |
Instance Attribute Details
#spec ⇒ Object (readonly)
Returns the value of attribute spec.
6 7 8 |
# File 'lib/hoe/markdown/standalone.rb', line 6 def spec @spec end |