Method: PodBuilder::PostActions::Item#initialize
- Defined in:
- lib/pod_builder/post_actions.rb
#initialize(name, hash) ⇒ Item
23 24 25 26 27 28 29 |
# File 'lib/pod_builder/post_actions.rb', line 23 def initialize(name, hash) @name = name @path = hash.fetch("path", "") @quiet = hash.fetch("quiet", false) raise "\n\nEmpty or missing post #{name} action path\n".red if @path.empty?() end |