Top Level Namespace
- Includes:
- Cosmos::Script, Math
Defined Under Namespace
Modules: Cosmos, CosmosIO, Enumerable, Kernel, Math, ObjectSpace, Puma, QDA, SNMP Classes: Array, Binding, Class, Date, DateTime, Exception, FalseClass, File, Float, Hash, HazardousError, IO, Matrix, NilClass, Numeric, Object, Range, Redis, Regexp, RubyLex, RubyLexUtils, S3File, S3FileCache, S3FileCollection, Socket, String, StringIO, Struct, Symbol, Time, TrueClass
Constant Summary collapse
- COSMOS_VERSION =
'5.0.3'
Constants included from Cosmos::Extract
Cosmos::Extract::SCANNING_REGULAR_EXPRESSION
Constants included from Cosmos::ApiShared
Cosmos::ApiShared::DEFAULT_TLM_POLLING_RATE
Instance Method Summary collapse
Methods included from Math
#cos_squared, #luma_from_rgb_max_255, #sin_squared, #stddev_population, #stddev_sample, #variance_population, #variance_sample
Instance Method Details
#gem_installed?(name, version = Gem::Requirement.default) ⇒ Boolean
26 27 28 29 |
# File 'ext/mkrf_conf.rb', line 26 def gem_installed?(name, version = Gem::Requirement.default) version = Gem::Requirement.create version unless version.is_a? Gem::Requirement Gem::Specification.each.any? { |spec| name == spec.name and version.satisfied_by? spec.version } end |