Class: Flipper::Expressions::Random

Inherits:
Object
  • Object
show all
Defined in:
lib/flipper/expressions/random.rb

Class Method Summary collapse

Class Method Details

.call(max = 0) ⇒ Object



4
5
6
# File 'lib/flipper/expressions/random.rb', line 4

def self.call(max = 0)
  rand max
end