Sha256: e2d28139283f8daea36c3c6d0f11d4d0affac21cca839fb4ac6a43e475b9a4a7

Contents?: true

Size: 197 Bytes

Versions: 37

Compression:

Stored size: 197 Bytes

Contents

module Rpush
  @reflection_stack ||= [ReflectionCollection.new]

  class << self
    attr_reader :reflection_stack
  end

  def self.reflect
    yield reflection_stack[0] if block_given?
  end
end

Version data entries

37 entries across 37 versions & 2 rubygems

Version Path
rpush-9.1.0 lib/rpush/reflection_public_methods.rb
rpush-9.0.0 lib/rpush/reflection_public_methods.rb
rpush-8.0.0 lib/rpush/reflection_public_methods.rb
rpush-7.0.1 lib/rpush/reflection_public_methods.rb
rpush-7.0.0 lib/rpush/reflection_public_methods.rb
rpush-6.0.1 lib/rpush/reflection_public_methods.rb
rpush-6.0.0 lib/rpush/reflection_public_methods.rb
rpush-5.4.0 lib/rpush/reflection_public_methods.rb
rpush-5.3.0 lib/rpush/reflection_public_methods.rb
rpush-5.2.0 lib/rpush/reflection_public_methods.rb
rpush-5.1.0 lib/rpush/reflection_public_methods.rb
rpush-5.0.0 lib/rpush/reflection_public_methods.rb
rpush-4.2.0 lib/rpush/reflection_public_methods.rb
rpush-4.1.1 lib/rpush/reflection_public_methods.rb
rpush-4.1.0 lib/rpush/reflection_public_methods.rb
rpush-4.0.1 lib/rpush/reflection_public_methods.rb
rpush-4.0.0 lib/rpush/reflection_public_methods.rb
rpush-3.3.1 lib/rpush/reflection_public_methods.rb
rpush-3.3.0 lib/rpush/reflection_public_methods.rb
rpush_extended-3.2.6 lib/rpush/reflection_public_methods.rb