Module: X::Streams
- Defined in:
- x-streams/lib/x/streams/version.rb,
x-streams/lib/x/streams/api.rb,
x-streams/lib/x/streams/error.rb,
x-streams/lib/x/streams/stopper.rb,
x-streams/lib/x/streams/validator.rb,
x-streams/lib/x/streams/stream_rule.rb,
x-streams/lib/x/streams/stream_error.rb,
x-streams/lib/x/streams/stream_rules.rb,
x-streams/lib/x/streams/stream_parser.rb,
x-streams/lib/x/streams/callback_error.rb,
x-streams/lib/x/streams/streaming_client.rb,
x-streams/lib/x/streams/reconnect_handler.rb
Overview
Streams from the X API, and the rules of its filtered stream
Defined Under Namespace
Constant Summary collapse
- VERSION =
The current version of the x-streams gem
"1.0.0"
Class Method Summary collapse
-
.gem_version ⇒ Gem::Version
The version as a Gem::Version, which compares one release with another.
Class Method Details
.gem_version ⇒ Gem::Version
The version as a Gem::Version, which compares one release with another
VERSION is a String, as a version constant is throughout Ruby, so that what reads it can split it, match it, or send it wherever a String belongs. This builds the Gem::Version that compares it with another version, which a String compares by character rather than by segment.
22 |
# File 'x-streams/lib/x/streams/version.rb', line 22 def self.gem_version = Gem::Version.new(VERSION) |