Module: Monolens
- Defined in:
- lib/monolens.rb,
lib/monolens/file.rb,
lib/monolens/lens.rb,
lib/monolens/type.rb,
lib/monolens/error.rb,
lib/monolens/macros.rb,
lib/monolens/command.rb,
lib/monolens/version.rb,
lib/monolens/jsonpath.rb,
lib/monolens/registry.rb,
lib/monolens/type/any.rb,
lib/monolens/type/map.rb,
lib/monolens/namespace.rb,
lib/monolens/stdlib/str.rb,
lib/monolens/type/array.rb,
lib/monolens/stdlib/core.rb,
lib/monolens/stdlib/skip.rb,
lib/monolens/type/lenses.rb,
lib/monolens/type/object.rb,
lib/monolens/type/string.rb,
lib/monolens/type/symbol.rb,
lib/monolens/lens/options.rb,
lib/monolens/stdlib/array.rb,
lib/monolens/stdlib/check.rb,
lib/monolens/type/boolean.rb,
lib/monolens/type/integer.rb,
lib/monolens/error_handler.rb,
lib/monolens/lens/location.rb,
lib/monolens/stdlib/coerce.rb,
lib/monolens/stdlib/object.rb,
lib/monolens/type/callback.rb,
lib/monolens/type/diggable.rb,
lib/monolens/type/strategy.rb,
lib/monolens/command/tester.rb,
lib/monolens/lens/signature.rb,
lib/monolens/type/coercible.rb,
lib/monolens/type/emptyable.rb,
lib/monolens/stdlib/core/dig.rb,
lib/monolens/type/responding.rb,
lib/monolens/stdlib/array/map.rb,
lib/monolens/stdlib/core/digs.rb,
lib/monolens/stdlib/skip/null.rb,
lib/monolens/stdlib/str/split.rb,
lib/monolens/stdlib/str/strip.rb,
lib/monolens/stdlib/array/join.rb,
lib/monolens/stdlib/core/chain.rb,
lib/monolens/stdlib/str/upcase.rb,
lib/monolens/lens/fetch_support.rb,
lib/monolens/stdlib/coerce/date.rb,
lib/monolens/stdlib/object/keys.rb,
lib/monolens/stdlib/coerce/array.rb,
lib/monolens/stdlib/core/literal.rb,
lib/monolens/stdlib/core/mapping.rb,
lib/monolens/stdlib/object/merge.rb,
lib/monolens/stdlib/str/downcase.rb,
lib/monolens/stdlib/array/compact.rb,
lib/monolens/stdlib/coerce/string.rb,
lib/monolens/stdlib/object/allbut.rb,
lib/monolens/stdlib/object/extend.rb,
lib/monolens/stdlib/object/rename.rb,
lib/monolens/stdlib/object/select.rb,
lib/monolens/stdlib/object/values.rb,
lib/monolens/stdlib/coerce/integer.rb,
lib/monolens/lens/signature/missing.rb,
lib/monolens/stdlib/check/not_empty.rb,
lib/monolens/stdlib/coerce/date_time.rb,
lib/monolens/stdlib/object/transform.rb,
lib/monolens/stdlib/str/null_if_empty.rb
Defined Under Namespace
Modules: Array, Check, Coerce, Core, Lens, Namespace, Object, Skip, Str, Type, Version
Classes: Command, Error, ErrorHandler, File, Jsonpath, LensError, Macros, Registry, TypeError
Constant Summary
collapse
- STDLIB =
Registry.new
- VERSION =
"#{Version::MAJOR}.#{Version::MINOR}.#{Version::TINY}"
Class Method Summary
collapse
Class Method Details
.define_namespace(name, impl_module) ⇒ Object
19
20
21
|
# File 'lib/monolens.rb', line 19
def define_namespace(name, impl_module)
STDLIB.define_namespace(name, impl_module)
end
|
.lens(arg) ⇒ Object
31
32
33
|
# File 'lib/monolens.rb', line 31
def lens(arg)
STDLIB.lens(arg)
end
|
.load_file(file) ⇒ Object
23
24
25
|
# File 'lib/monolens.rb', line 23
def load_file(file)
STDLIB.load_file(file)
end
|
.load_yaml(yaml_str) ⇒ Object
27
28
29
|
# File 'lib/monolens.rb', line 27
def load_yaml(yaml_str)
STDLIB.load_yaml(yaml_str)
end
|