Method: ActionDoc::Generator#check_action_yml
- Defined in:
- lib/actiondoc/generator.rb
#check_action_yml ⇒ Object
63 64 65 66 67 68 69 |
# File 'lib/actiondoc/generator.rb', line 63 def check_action_yml @path_to_action_yml = @args.first || 'action.yml' return if File.readable?(@path_to_action_yml) warn "#{@path_to_action_yml} not found! Aborting..." exit 1 end |