Sha256: 32d886211d2aa0987795f37ded0d57a7de21c0467f654ac49349b52efb86f39e

Contents?: true

Size: 308 Bytes

Versions: 1

Compression:

Stored size: 308 Bytes

Contents

class StimulusAttrs::IdentifierScope
  def initialize(identifier)
    @identifier = identifier
  end

  def method_missing(*args, **kwargs, &block)
    StimulusAttrs.send(*args, **kwargs, identifier: @identifier, &block)
  end

  def respond_to_missing?(*args)
    StimulusAttrs.respond_to?(*args)
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
stimulus_attrs-0.1.0 lib/stimulus_attrs/identifier_scope.rb