Sha256: ebde653077c0afeb135748e565a819c588e264757d197a7562d33175ddbb95e7

Contents?: true

Size: 241 Bytes

Versions: 1

Compression:

Stored size: 241 Bytes

Contents

module TinyCore
  module Role
    module Guest
      include TinyCore::Role

      def method_missing(method, *args)
        if method.to_s =~ /^can_.*\?$/
          false
        else
          super
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
tiny_core_users-0.0.1 lib/tiny_core/role/guest.rb