Module: Starlined
- Defined in:
- lib/starlined.rb,
lib/starlined/runner.rb,
lib/starlined/version.rb,
lib/starlined/messages.rb,
lib/starlined/animation.rb,
lib/starlined/configuration.rb
Defined Under Namespace
Modules: Messages Classes: Animation, Configuration, Runner
Constant Summary collapse
- VERSION =
"0.1.2"
Class Attribute Summary collapse
-
.configuration ⇒ Object
Returns the value of attribute configuration.
Class Method Summary collapse
Class Attribute Details
.configuration ⇒ Object
Returns the value of attribute configuration.
14 15 16 |
# File 'lib/starlined.rb', line 14 def configuration @configuration end |
Class Method Details
.configure {|configuration| ... } ⇒ Object
16 17 18 19 |
# File 'lib/starlined.rb', line 16 def configure self.configuration ||= Configuration.new yield(configuration) if block_given? end |
.reset_configuration! ⇒ Object
21 22 23 |
# File 'lib/starlined.rb', line 21 def reset_configuration! self.configuration = Configuration.new end |