Sha256: 9e125e3668f45edde144879f4fdd13c5a0d82277a593bee0440671448f86650e

Contents?: true

Size: 204 Bytes

Versions: 1

Compression:

Stored size: 204 Bytes

Contents

module Exposant
  module Contextualizable
    attr_accessor :context

    def contextualize(context)
      self.context = context
    end

    def contextualized?
      context.present?
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
exposant-0.2.0 lib/exposant/concerns/contextualizable.rb