Sha256: 219a611e1907fc9774ebd31b825fb2abf0fd8350ec7ad10edec2d3bc43658a5d

Contents?: true

Size: 258 Bytes

Versions: 9

Compression:

Stored size: 258 Bytes

Contents

# argv.fy
# Example of fancy's interface for command line arguments

"This will always get printed, even when required from another file" println

if: (ARGV[0] == __FILE__) then: {
  "This will get printed, if this file is directly run with fancy" println
}

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
fancy-0.8.0 examples/argv.fy
fancy-0.7.0 examples/argv.fy
fancy-0.6.0 examples/argv.fy
fancy-0.5.0 examples/argv.fy
fancy-0.4.0 examples/argv.fy
fancy-0.3.3 examples/argv.fy
fancy-0.3.2 examples/argv.fy
fancy-0.3.1 examples/argv.fy
fancy-0.3.0 examples/argv.fy