Sha256: 21500fdbdc82e8b53e8df4b6dab8d4e6e82abb3c001b3e66289dcdd8a27b08d9

Contents?: true

Size: 118 Bytes

Versions: 4

Compression:

Stored size: 118 Bytes

Contents

# This file demonstrates the conditional assignment operator in Nila

a = nil
b = 20
a ||= b

a = true
b = 20
a &&= b

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
nilac-0.0.4.3.9.8 shark/test_files/conditional_assignment.nila
nilac-0.0.4.3.9.7.1 shark/test_files/conditional_assignment.nila
nilac-0.0.4.3.9.7 shark/test_files/conditional_assignment.nila
nilac-0.0.4.3.9.6 shark/test_files/conditional_assignment.nila