Bit banging in ruby

后端 未结 3 725
自闭症患者
自闭症患者 2021-02-10 13:24

I want to create a bit, that will contain security permissions for a given user.

In c#, I would do this by creating an enumeration, and then I would do some bit banging

3条回答
  •  失恋的感觉
    2021-02-10 13:53

    Ryan Bates talks about using bitwise operations for embedding associations in this podcast. You can read text version here.

提交回复
热议问题