Class: Avm::Files::Formatter

Inherits:
Object
  • Object
show all
Includes:
EacRubyUtils::Fs::Traversable
Defined in:
lib/avm/files/formatter.rb,
lib/avm/files/formatter/formats.rb,
lib/avm/files/formatter/formats/php.rb,
lib/avm/files/formatter/formats/xml.rb,
lib/avm/files/formatter/utf8_assert.rb,
lib/avm/files/formatter/formats/base.rb,
lib/avm/files/formatter/formats/html.rb,
lib/avm/files/formatter/formats/json.rb,
lib/avm/files/formatter/formats/ruby.rb,
lib/avm/files/formatter/formats/python.rb,
lib/avm/files/formatter/formats/javascript.rb,
lib/avm/files/formatter/formats/generic_plain.rb

Defined Under Namespace

Modules: Formats Classes: Utf8Assert

Constant Summary collapse

FORMATS =
%w[ruby php html python xml javascript json generic_plain].freeze

Instance Method Summary collapse

Instance Method Details

#runObject



21
22
23
24
25
26
# File 'lib/avm/files/formatter.rb', line 21

def run
  clear
  search_files
  apply
  show_results
end