Module: Pug
- Defined in:
- lib/pug.rb,
lib/pug/bot.rb,
lib/pug/results.rb,
lib/pug/strings.rb,
lib/pug/version.rb,
lib/pug/help_action.rb,
lib/pug/list_action.rb,
lib/pug/action/input.rb,
lib/pug/types/result.rb,
lib/pug/action/output.rb,
lib/pug/configuration.rb,
lib/pug/number_parser.rb,
lib/pug/clients/factory.rb,
lib/pug/keyword_handler.rb,
lib/pug/message_handler.rb,
lib/pug/telegram_client.rb,
lib/pug/terminal_client.rb,
lib/pug/action/controller.rb,
lib/pug/action/enumerator.rb,
lib/pug/interfaces/action.rb,
lib/pug/interfaces/client.rb
Overview
An automation framework for repetitive dev tasks
Defined Under Namespace
Modules: Action, Clients, Interfaces, Types Classes: Bot, Configuration, HelpAction, KeywordHandler, ListAction, MessageHandler, NumberParser, Results, Strings, TelegramClient, TerminalClient
Constant Summary collapse
- VERSION =
'0.1.1'
Class Attribute Summary collapse
-
.configuration ⇒ Configuration
Grabs the current Pug configuration.
Instance Attribute Summary collapse
-
#configuration ⇒ Configuration
The Pug config object.
Class Method Summary collapse
Class Attribute Details
.configuration ⇒ Configuration
Grabs the current Pug configuration
34 35 36 37 |
# File 'lib/pug.rb', line 34 def self.configuration default_type = Configuration::TELEGRAM @configuration ||= Configuration.new(default_type) end |
Instance Attribute Details
#configuration ⇒ Configuration
Returns the Pug config object.
27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 |
# File 'lib/pug.rb', line 27 module Pug # :nodoc: class << self attr_writer :configuration end # Grabs the current Pug configuration # @return [Configuration] the Pug config object def self.configuration default_type = Configuration::TELEGRAM @configuration ||= Configuration.new(default_type) end # @yieldparam [Configuration] configuration def self.configure yield(configuration) end end |
Class Method Details
.configure {|configuration| ... } ⇒ Object
40 41 42 |
# File 'lib/pug.rb', line 40 def self.configure yield(configuration) end |