Module: Camille
- Defined in:
- lib/camille.rb,
lib/camille/line.rb,
lib/camille/type.rb,
lib/camille/types.rb,
lib/camille/loader.rb,
lib/camille/schema.rb,
lib/camille/syntax.rb,
lib/camille/checked.rb,
lib/camille/railtie.rb,
lib/camille/schemas.rb,
lib/camille/version.rb,
lib/camille/endpoint.rb,
lib/camille/rendered.rb,
lib/camille/types/any.rb,
lib/camille/basic_type.rb,
lib/camille/controller.rb,
lib/camille/type_error.rb,
lib/camille/types/null.rb,
lib/camille/types/omit.rb,
lib/camille/types/pick.rb,
lib/camille/object_hash.rb,
lib/camille/types/array.rb,
lib/camille/types/tuple.rb,
lib/camille/types/union.rb,
lib/camille/types/number.rb,
lib/camille/types/object.rb,
lib/camille/types/record.rb,
lib/camille/types/string.rb,
lib/camille/configuration.rb,
lib/camille/key_converter.rb,
lib/camille/pick_and_omit.rb,
lib/camille/types/boolean.rb,
lib/camille/code_generator.rb,
lib/camille/main_controller.rb,
lib/camille/types/undefined.rb,
lib/camille/type_error_printer.rb,
lib/camille/types/intersection.rb,
lib/camille/intersection_solver.rb,
lib/camille/types/number_literal.rb,
lib/camille/types/string_literal.rb,
lib/camille/types/boolean_literal.rb,
lib/camille/generators/type_generator.rb,
lib/camille/intersection_preprocessor.rb,
lib/camille/generators/schema_generator.rb,
lib/camille/generators/install_generator.rb
Defined Under Namespace
Modules: CodeGenerator, Controller, Generators, Loader, Schemas, Syntax, Types
Classes: BasicType, Checked, Configuration, Endpoint, Error, IntersectionPreprocessor, IntersectionSolver, KeyConverter, Line, MainController, ObjectHash, PickAndOmit, Railtie, Rendered, Schema, Type, TypeError, TypeErrorPrinter
Constant Summary
collapse
- VERSION =
"0.6.3"
Class Method Summary
collapse
Class Method Details
55
56
57
|
# File 'lib/camille.rb', line 55
def self.configure &block
Camille::Configuration.instance_eval &block
end
|
.generate_ts ⇒ Object
59
60
61
|
# File 'lib/camille.rb', line 59
def self.generate_ts
Camille::CodeGenerator.generate_ts
end
|