Module: Belajar
- Defined in:
- lib/belajar.rb,
lib/belajar/task.rb,
lib/belajar/test.rb,
lib/belajar/unit.rb,
lib/belajar/views.rb,
lib/belajar/course.rb,
lib/belajar/window.rb,
lib/belajar/chapter.rb,
lib/belajar/version.rb,
lib/belajar/coloring.rb,
lib/belajar/loadable.rb,
lib/belajar/solution.rb,
lib/belajar/terminal.rb,
lib/belajar/generator.rb,
lib/belajar/storeable.rb,
lib/belajar/exceptions.rb,
lib/belajar/views/menu.rb,
lib/belajar/test_result.rb,
lib/belajar/terminal/cli.rb,
lib/belajar/views/splash.rb,
lib/belajar/configuration.rb,
lib/belajar/congratulator.rb,
lib/belajar/github_client.rb,
lib/belajar/loading/units.rb,
lib/belajar/views/top_bar.rb,
lib/belajar/terminal/setup.rb,
lib/belajar/loading/courses.rb,
lib/belajar/terminal/output.rb,
lib/belajar/views/main_menu.rb,
lib/belajar/views/task_view.rb,
lib/belajar/loading/chapters.rb,
lib/belajar/markdown/printer.rb,
lib/belajar/terminal/courses.rb,
lib/belajar/terminal/welcome.rb,
lib/belajar/views/subscriber.rb,
lib/belajar/views/units_menu.rb,
lib/belajar/markdown/ruby_doc.rb,
lib/belajar/reference_solution.rb,
lib/belajar/terminal/solutions.rb,
lib/belajar/views/courses_menu.rb,
lib/belajar/views/chapters_menu.rb
Defined Under Namespace
Modules: Coloring, Download, GithubClient, Loadable, Loading, Markdown, Storeable, Terminal, Views
Classes: Chapter, ChaptersNotFoundError, Configuration, ConfigurationError, Congratulator, Course, CourseNotFoundError, Error, Generator, ReferenceSolution, ReferenceSolutionNotFoundError, ScaffoldError, Solution, SolutionNotFoundError, Task, TaskNotFoundError, Test, TestExample, TestResult, Unit, UnitsNotFoundError, Window
Constant Summary
collapse
- VERSION =
'1.0.0'.freeze
Class Method Summary
collapse
Class Method Details
.config ⇒ Object
10
11
12
|
# File 'lib/belajar.rb', line 10
def config
Configuration.instance
end
|
14
15
16
|
# File 'lib/belajar.rb', line 14
def configure
yield(config) if block_given?
end
|