Module: SnowyOwl
- Extended by:
- Forwardable
- Defined in:
- lib/snowy_owl.rb,
lib/snowy_owl/plays.rb,
lib/snowy_owl/plots.rb,
lib/snowy_owl/props.rb,
lib/snowy_owl/rspec.rb,
lib/snowy_owl/config.rb,
lib/snowy_owl/digest.rb,
lib/snowy_owl/persist.rb,
lib/snowy_owl/support.rb,
lib/snowy_owl/version.rb,
lib/snowy_owl/owl_field.rb,
lib/snowy_owl/determinations.rb
Defined Under Namespace
Modules: Determinations, Digest, Persist, Plays, Plots, Props, Support
Classes: Config, OwlField, StatusFormatter
Constant Summary
collapse
- VERSION =
'0.4.1'.freeze
Class Method Summary
collapse
Class Method Details
.config ⇒ Object
20
21
22
|
# File 'lib/snowy_owl.rb', line 20
def config
@config ||= SnowyOwl::Config.new
end
|
16
17
18
|
# File 'lib/snowy_owl.rb', line 16
def configure
yield config
end
|
.play(*args) ⇒ Object
24
25
26
27
28
29
30
31
|
# File 'lib/snowy_owl.rb', line 24
def play
owl_field = OwlField.new
owl_field.play 'Snowy Owl' do
Dir[SnowyOwl.plots_path].each { |f| require f }
Dir[SnowyOwl.determinations_path].each { |f| require f }
sequence_run Dir[SnowyOwl.play_books_path]
end
end
|