Sha256: 567a16d3600cb759ebe82553e36a7db8ba3a2576806a2a6e8384f34df7e3e039

Contents?: true

Size: 494 Bytes

Versions: 4

Compression:

Stored size: 494 Bytes

Contents

module Controll
  module Helper
    module Session
      extend ActiveSupport::Concern
      include Controll::Helper::HashAccess

      module ClassMethods
        def session_methods *args
          options = args.extract_options!
          names = args
          hash_access_method *names, options.merge(hash: :session)
        end
        
        def session_method name, options = {}
          hash_access_method name, options.merge(hash: :session)
        end
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
controll-0.3.2 lib/controll/helper/session.rb
controll-0.3.1 lib/controll/helper/session.rb
controll-0.3.0 lib/controll/helper/session.rb
controll-0.2.0 lib/controll/helper/session.rb