Sha256: b994f5598a3e4df67a801bbe418a7d0b8ed9872d39fe830128a7aa651059a66c

Contents?: true

Size: 231 Bytes

Versions: 9

Compression:

Stored size: 231 Bytes

Contents

module Georgia
  class Policy

    attr_reader :controller

    def initialize *args
      @controller = args.first
    end

    private

    def method_missing(*args, &block)
      controller.send(*args, &block)
    end

  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
georgia-0.7.8 app/policies/georgia/policy.rb
georgia-0.7.7 app/policies/georgia/policy.rb
georgia-0.7.6 app/policies/georgia/policy.rb
georgia-0.7.5 app/policies/georgia/policy.rb
georgia-0.7.4 app/policies/georgia/policy.rb
georgia-0.7.3 app/policies/georgia/policy.rb
georgia-0.7.2 app/policies/georgia/policy.rb
georgia-0.7.1 app/policies/georgia/policy.rb
georgia-0.7.0 app/policies/georgia/policy.rb