Module: Gamefic
- Defined in:
- lib/gamefic/node.rb,
lib/gamefic/plot.rb,
lib/gamefic/actor.rb,
lib/gamefic/block.rb,
lib/gamefic/props.rb,
lib/gamefic/proxy.rb,
lib/gamefic/scene.rb,
lib/gamefic/stage.rb,
lib/gamefic/vault.rb,
lib/gamefic/action.rb,
lib/gamefic/active.rb,
lib/gamefic/entity.rb,
lib/gamefic/syntax.rb,
lib/gamefic/chapter.rb,
lib/gamefic/command.rb,
lib/gamefic/logging.rb,
lib/gamefic/scanner.rb,
lib/gamefic/subplot.rb,
lib/gamefic/version.rb,
lib/gamefic/callback.rb,
lib/gamefic/response.rb,
lib/gamefic/rulebook.rb,
lib/gamefic/snapshot.rb,
lib/gamefic/messenger.rb,
lib/gamefic/narrative.rb,
lib/gamefic/active/cue.rb,
lib/gamefic/dispatcher.rb,
lib/gamefic/expression.rb,
lib/gamefic/proxy/base.rb,
lib/gamefic/proxy/pick.rb,
lib/gamefic/query/base.rb,
lib/gamefic/query/text.rb,
lib/gamefic/scope/base.rb,
lib/gamefic/scriptable.rb,
lib/gamefic/active/epic.rb,
lib/gamefic/active/take.rb,
lib/gamefic/describable.rb,
lib/gamefic/props/pause.rb,
lib/gamefic/scene/pause.rb,
lib/gamefic/props/output.rb,
lib/gamefic/proxy/config.rb,
lib/gamefic/query/result.rb,
lib/gamefic/query/scoped.rb,
lib/gamefic/scanner/base.rb,
lib/gamefic/scope/family.rb,
lib/gamefic/scope/myself.rb,
lib/gamefic/scope/parent.rb,
lib/gamefic/props/default.rb,
lib/gamefic/query/general.rb,
lib/gamefic/scanner/fuzzy.rb,
lib/gamefic/scene/default.rb,
lib/gamefic/query/abstract.rb,
lib/gamefic/rulebook/calls.rb,
lib/gamefic/rulebook/hooks.rb,
lib/gamefic/scanner/result.rb,
lib/gamefic/scanner/strict.rb,
lib/gamefic/scene/activity.rb,
lib/gamefic/scope/children.rb,
lib/gamefic/scope/siblings.rb,
lib/gamefic/props/yes_or_no.rb,
lib/gamefic/proxy/plot_pick.rb,
lib/gamefic/rulebook/events.rb,
lib/gamefic/rulebook/scenes.rb,
lib/gamefic/scanner/nesting.rb,
lib/gamefic/scene/yes_or_no.rb,
lib/gamefic/syntax/template.rb,
lib/gamefic/active/messaging.rb,
lib/gamefic/scene/conclusion.rb,
lib/gamefic/scope/descendants.rb,
lib/gamefic/scriptable/events.rb,
lib/gamefic/scriptable/scenes.rb,
lib/gamefic/scriptable/actions.rb,
lib/gamefic/scriptable/proxies.rb,
lib/gamefic/scriptable/queries.rb,
lib/gamefic/scriptable/entities.rb,
lib/gamefic/props/multiple_choice.rb,
lib/gamefic/scanner/fuzzy_nesting.rb,
lib/gamefic/scene/multiple_choice.rb,
lib/gamefic/scriptable/plot_proxies.rb
Defined Under Namespace
Modules: Active, Describable, Logging, Node, Props, Query, Scanner, Scene, Scope, Scriptable, Snapshot, Stage Classes: Action, Actor, Block, Callback, Chapter, Command, Dispatcher, Entity, Expression, Messenger, Narrative, NodeError, Plot, Proxy, Response, Rulebook, Subplot, Syntax, Vault
Constant Summary collapse
- VERSION =
'3.6.0'
Class Method Summary collapse
Class Method Details
.logger ⇒ Object
18 19 20 21 22 |
# File 'lib/gamefic/logging.rb', line 18 def logger @logger ||= select_logger.tap do |l| l.formatter = proc { |sev, _dt, _prog, msg| "[#{sev}] #{msg}\n" } end end |