Sha256: d818b51e7269002000cfe6a7bd7d6576905941de1ae2b2e6ed0bccc2793b98ef

Contents?: true

Size: 275 Bytes

Versions: 4

Compression:

Stored size: 275 Bytes

Contents

module Screengem
  #
  # Concern that adds ability to configure with an actor instance.
  #
  module Configurable
    extend ActiveSupport::Concern

    included do
      attr_reader :actor
    end

    def configure(actor)
      @actor = actor

      self
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
screengem-0.2.0 lib/screengem/concerns/configurable.rb
screengem-0.1.2 lib/screengem/concerns/configurable.rb
screengem-0.1.1 lib/screengem/concerns/configurable.rb
screengem-0.1.0 lib/screengem/concerns/configurable.rb