Top Level Namespace
Defined Under Namespace
Modules: CoopAl Classes: Integer, String
Instance Method Summary collapse
Instance Method Details
#adventure(name, description = nil, &blk) ⇒ Object
1 2 3 4 |
# File 'lib/coop_al/library_generator.rb', line 1 def adventure(name, description = nil, &blk) generator = CoopAl::AdventureGenerator.new(name, description, CoopAl::Bestiary.instance) generator.instance_eval(&blk) end |
#bestiary(&blk) ⇒ Object
1 2 3 |
# File 'lib/coop_al/bestiary_generator.rb', line 1 def bestiary(&blk) CoopAl::BestiaryPopulator.new(&blk) end |