Sha256: 460e93487c2883ed000f69dde9f6f553b56e5a64b2a0850e463851e7da4e31ed
Contents?: true
Size: 312 Bytes
Versions: 4
Compression:
Stored size: 312 Bytes
Contents
class Reputation class Functions class Linear include Mixin attr_accessor :m def initialize(args = {}) constants = { :m => 1 }.merge( args ) @m = constants[:m] end def f(x) limit x * m end end end end
Version data entries
4 entries across 4 versions & 1 rubygems