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

Version Path
gs2crmod-0.12.17 lib/gs2crmod/properties.rb
gs2crmod-0.12.16 lib/gs2crmod/properties.rb
gs2crmod-0.12.15 lib/gs2crmod/properties.rb
gs2crmod-0.12.14 lib/gs2crmod/properties.rb
gs2crmod-0.12.13 lib/gs2crmod/properties.rb
gs2crmod-0.12.12 lib/gs2crmod/properties.rb
gs2crmod-0.12.11 lib/gs2crmod/properties.rb
gs2crmod-0.12.10 lib/gs2crmod/properties.rb
gs2crmod-0.12.9 lib/gs2crmod/properties.rb
gs2crmod-0.12.8 lib/gs2crmod/properties.rb
gs2crmod-0.12.7 lib/gs2crmod/properties.rb
gs2crmod-0.12.6 lib/gs2crmod/properties.rb
gs2crmod-0.12.5 lib/gs2crmod/properties.rb
gs2crmod-0.12.4 lib/gs2crmod/properties.rb
gs2crmod-0.12.3 lib/gs2crmod/properties.rb
gs2crmod-0.12.2 lib/gs2crmod/properties.rb
gs2crmod-0.12.1 lib/gs2crmod/properties.rb
gs2crmod-0.12.0 lib/gs2crmod/properties.rb
gs2crmod-0.11.101 lib/gs2crmod/properties.rb
gs2crmod-0.11.100 lib/gs2crmod/properties.rb