Module: Riffer
- Defined in:
- lib/riffer.rb,
lib/riffer/version.rb
Defined Under Namespace
Modules: Messages, Providers, StreamEvents, Tools Classes: Agent, ArgumentError, Config, Core, Error, Tool, ValidationError
Constant Summary collapse
- VERSION =
"0.7.0"
Class Method Summary collapse
-
.config ⇒ Riffer::Config
Returns the Riffer configuration.
-
.configure {|config| ... } ⇒ void
Yields the configuration for block-based setup.
-
.version ⇒ String
Returns the gem version.
Class Method Details
.config ⇒ Riffer::Config
Returns the Riffer configuration
39 40 41 |
# File 'lib/riffer.rb', line 39 def config @config ||= Config.new end |
.configure {|config| ... } ⇒ void
This method returns an undefined value.
Yields the configuration for block-based setup
46 47 48 |
# File 'lib/riffer.rb', line 46 def configure yield config if block_given? end |
.version ⇒ String
Returns the gem version
52 53 54 |
# File 'lib/riffer.rb', line 52 def version VERSION end |