Sha256: 68d5569524284d637f41946404be3cddcfddd8326acd2e71a1d7ed4e29a6463b

Contents?: true

Size: 452 Bytes

Versions: 8

Compression:

Stored size: 452 Bytes

Contents

# frozen_string_literal: true

module Gamefic
  module Active
    # The data that actors use to configure a Take.
    #
    class Cue
      # @return [Symbol]
      attr_reader :scene

      # @return [Hash]
      attr_reader :context

      # @param scene [Symbol]
      def initialize scene, **context
        @scene = scene
        @context = context
      end

      def to_s
        scene.to_s
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
gamefic-3.6.0 lib/gamefic/active/cue.rb
gamefic-3.5.0 lib/gamefic/active/cue.rb
gamefic-3.4.0 lib/gamefic/active/cue.rb
gamefic-3.3.0 lib/gamefic/active/cue.rb
gamefic-3.2.1 lib/gamefic/active/cue.rb
gamefic-3.2.0 lib/gamefic/active/cue.rb
gamefic-3.1.0 lib/gamefic/active/cue.rb
gamefic-3.0.0 lib/gamefic/active/cue.rb