Sha256: 6c56f03a8e7e9de0b9d1bc9a6384de781b56436a60a293e32ea5559d09d720d3
Contents?: true
Size: 366 Bytes
Versions: 184
Compression:
Stored size: 366 Bytes
Contents
class CodeRunner class Gs2 ###################################### # GS2 CodeRunner Module # # Calculated Properties # # These are methods which calculate # miscellaneous properties of the run. # ##################################### def has_electrons? return @nspec.times.inject(false){|bool, i| bool or send(:type_ + i.to_sym) =~ /electrons/i} end end end
Version data entries
184 entries across 184 versions & 1 rubygems