Created
December 8, 2013 07:17
-
-
Save madhurranjan/7854255 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
$ | |
require 'json' | |
require 'date' | |
$ | |
d = DateTime.now | |
time_date = {"time" => DateTime.now } | |
print time_date.to_json | |
Run as | |
ansible/hacking/test-module -m ./tests/time.rb |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment