Class: Apparat::Dump
- Inherits:
-
Sprout::Executable::Base
- Object
- Sprout::Executable::Base
- Apparat::Dump
- Defined in:
- lib/apparat/dump.rb
Instance Method Summary collapse
-
#abc ⇒ Object
If you spefiy the “-abc” parameter, dump will output detailed ABC information.
-
#bc ⇒ Object
If “-abc” is specified you can also change the way how methods are written.
-
#executable ⇒ Object
The default executable target.
-
#input ⇒ Object
The source file to dump.
-
#output ⇒ Object
An optional output directory.
-
#swf ⇒ Object
If you speficy the “-swf” parameter the tag information of the file is exported.
-
#uml ⇒ Object
If you speficy the “-uml” parameter a UML graph for the given file is generated in DOT format.
Instance Method Details
#abc ⇒ Object
If you spefiy the “-abc” parameter, dump will output detailed ABC information.
30 |
# File 'lib/apparat/dump.rb', line 30 add_param :abc, Boolean, { :shell_name => '-abc', :hidden_value => true } |
#bc ⇒ Object
If “-abc” is specified you can also change the way how methods are written. “-bc raw” will show raw bytes, “-bc cfg” will output methods as control flow graphs in DOT format. “-bc default” will use Apparat’s default bytecode representation.
37 |
# File 'lib/apparat/dump.rb', line 37 add_param :bc, String, { :shell_name => '-bc', :delimiter => ' ' } |
#executable ⇒ Object
The default executable target
42 |
# File 'lib/apparat/dump.rb', line 42 set :executable, :dump |
#input ⇒ Object
The source file to dump
8 |
# File 'lib/apparat/dump.rb', line 8 add_param :input, File, { :required => true, :shell_name => '-i', :delimiter => ' ' } |
#output ⇒ Object
An optional output directory.
13 |
# File 'lib/apparat/dump.rb', line 13 add_param :output, String, { :shell_name => '-o', :delimiter => ' ' } |
#swf ⇒ Object
If you speficy the “-swf” parameter the tag information of the file is exported
18 |
# File 'lib/apparat/dump.rb', line 18 add_param :swf, Boolean, { :shell_name => '-swf', :hidden_value => true } |
#uml ⇒ Object
If you speficy the “-uml” parameter a UML graph for the given file is generated in DOT format. This format can be opened with OmniGraffle in OS X or you can transform it to an image or SVG with Graphviz.
25 |
# File 'lib/apparat/dump.rb', line 25 add_param :uml, Boolean, { :shell_name => '-uml', :hidden_value => true } |