Class: Hoe::Markdown::Standalone

Inherits:
Object
  • Object
show all
Includes:
Hoe::Markdown
Defined in:
lib/hoe/markdown/standalone.rb

Constant Summary

Constants included from Hoe::Markdown

VERSION

Instance Attribute Summary collapse

Attributes included from Hoe::Markdown

#markdown_linkify_files

Instance Method Summary collapse

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

#specObject (readonly)

Returns the value of attribute spec.



6
7
8
# File 'lib/hoe/markdown/standalone.rb', line 6

def spec
  @spec
end