Class: Guard::Markdown2Impress

Inherits:
Guard
  • Object
show all
Defined in:
lib/guard/markdown2impress.rb

Constant Summary collapse

VERSION =
'0.0.3'

Instance Method Summary collapse

Instance Method Details

#run_on_change(res) ⇒ Object

Print the result of the command, if there is a result to be printed. (see README.md)

Parameters:

  • res (Array)

    the result of the commands that have run



14
15
16
# File 'lib/guard/markdown2impress.rb', line 14

def run_on_change(res)
  puts res[0] if res[0]
end