Sha256: 977dfebaaa180ab8bb7aef58751cdef11acdb561e64356d221acba1dd42f1a7b
Contents?: true
Size: 944 Bytes
Versions: 2
Compression:
Stored size: 944 Bytes
Contents
module Danica class Operator include Common include VariablesHolder include BaseOperations default_value :priority, 3 default_value :is_grouped?, false def initialize(*args) self.variables = args.flatten end def ==(other) return false unless other.class == self.class variables == other.variables end autoload :Functional, 'danica/operator/functional' autoload :Chained, 'danica/operator/chained' autoload :Multiplication, 'danica/operator/multiplication' autoload :Addition, 'danica/operator/addition' autoload :Division, 'danica/operator/division' autoload :Power, 'danica/operator/power' autoload :Cos, 'danica/operator/cos' autoload :Sin, 'danica/operator/sin' autoload :SquaredRoot, 'danica/operator/squared_root' autoload :Exponential, 'danica/operator/exponential' end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
danica-2.4.2 | lib/danica/operator.rb |
danica-2.4.1 | lib/danica/operator.rb |