Sha256: e7102f65d352a440998dd868a737ecbb71729ae56d57f39859a13129d590e829

Contents?: true

Size: 911 Bytes

Versions: 3

Compression:

Stored size: 911 Bytes

Contents

# frozen_string_literal: true

require 'darthjee/core_ext'

module Danica
  autoload :Builder,          'danica/builder'
  autoload :BaseOperations,   'danica/base_operations'
  autoload :VariablesHolder,  'danica/variables_holder'
  autoload :Common,           'danica/common'
  autoload :Expression,       'danica/expression'
  autoload :Equation,         'danica/equation'
  autoload :Function,         'danica/function'
  autoload :Exception,        'danica/exception'
  autoload :Expressable,      'danica/expressable'
  autoload :Formatted,        'danica/formatted'

  autoload :DSL,              'danica/dsl'
  autoload :Wrapper,          'danica/wrapper'
  autoload :Operator,         'danica/operator'

  autoload :PI,               'danica/wrapper/constant'

  class << self
    delegate :build, to: :builder
    attr_accessor :debug

    def builder
      @builder ||= Builder.new
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
danica-2.7.7 lib/danica.rb
danica-2.7.6 lib/danica.rb
danica-2.7.5 lib/danica.rb