Module: Flatito
- Defined in:
- lib/flatito.rb,
lib/flatito/utils.rb,
lib/flatito/config.rb,
lib/flatito/finder.rb,
lib/flatito/version.rb,
lib/flatito/renderer.rb,
lib/flatito/print_items.rb,
lib/flatito/flatten_yaml.rb,
lib/flatito/tree_iterator.rb,
lib/flatito/regex_from_search.rb,
lib/flatito/yaml_with_line_number.rb
Defined Under Namespace
Modules: Config, RegexFromSearch, Utils, YAMLWithLineNumber Classes: Base, Finder, FlattenYaml, PrintItems, Renderer, TreeIterator
Constant Summary collapse
- VERSION =
"0.1.1"
Class Method Summary collapse
Class Method Details
.flat_content(content, options = {}) ⇒ Object
23 24 25 26 |
# File 'lib/flatito.rb', line 23 def flat_content(content, = {}) items = FlattenYaml.items_from_content(content) PrintItems.new([:search]).print(items) end |