Sha256: 79326b6e72bf1bfd4adc9a7043a1875a401ca4587ae1a493600d204e8699fcfb

Contents?: true

Size: 816 Bytes

Versions: 5

Compression:

Stored size: 816 Bytes

Contents

require 'yaml'
require 'date'
require 'ostruct'

module Monolens
  require_relative 'monolens/version'
  require_relative 'monolens/error'
  require_relative 'monolens/error_handler'
  require_relative 'monolens/type'
  require_relative 'monolens/jsonpath'
  require_relative 'monolens/lens'
  require_relative 'monolens/namespace'
  require_relative 'monolens/registry'
  require_relative 'monolens/macros'

  STDLIB = Registry.new

  class << self
    def define_namespace(name, impl_module)
      STDLIB.define_namespace(name, impl_module)
    end

    def load_file(file)
      STDLIB.load_file(file)
    end

    def load_yaml(yaml_str)
      STDLIB.load_yaml(yaml_str)
    end

    def lens(arg)
      STDLIB.lens(arg)
    end
  end

  require_relative 'monolens/file'
  require_relative 'monolens/stdlib'
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
monolens-0.6.4 lib/monolens.rb
monolens-0.6.3 lib/monolens.rb
monolens-0.6.2 lib/monolens.rb
monolens-0.6.1 lib/monolens.rb
monolens-0.6.0 lib/monolens.rb