module SimpleAllow
Constants
- VERSION
Public Instance Methods
allow(*allowed)
click to toggle source
# File lib/simple_allow.rb, line 4 def allow(*allowed) allowed.include?(self) ? self : nil end
# File lib/simple_allow.rb, line 4 def allow(*allowed) allowed.include?(self) ? self : nil end