Class: Ocran::RubyoptProcessor::Result
- Inherits:
-
Struct
- Object
- Struct
- Ocran::RubyoptProcessor::Result
- Defined in:
- lib/ocran/rubyopt_processor.rb
Overview
rubyopt: the RUBYOPT string with all translated/removed entries stripped; safe to bake into the executable as-is. load_paths: packed locations (relative to the extraction root) for translated -I entries, in the order given. requires: packed locations (relative to the extraction root) for translated -r entries, in the order given. dropped: -I/-r entries with absolute paths that are not part of the package; they cannot work at runtime and were removed.
Instance Attribute Summary collapse
-
#dropped ⇒ Object
Returns the value of attribute dropped.
-
#load_paths ⇒ Object
Returns the value of attribute load_paths.
-
#requires ⇒ Object
Returns the value of attribute requires.
-
#rubyopt ⇒ Object
Returns the value of attribute rubyopt.
Instance Method Summary collapse
Instance Attribute Details
#dropped ⇒ Object
Returns the value of attribute dropped
32 33 34 |
# File 'lib/ocran/rubyopt_processor.rb', line 32 def dropped @dropped end |
#load_paths ⇒ Object
Returns the value of attribute load_paths
32 33 34 |
# File 'lib/ocran/rubyopt_processor.rb', line 32 def load_paths @load_paths end |
#requires ⇒ Object
Returns the value of attribute requires
32 33 34 |
# File 'lib/ocran/rubyopt_processor.rb', line 32 def requires @requires end |
#rubyopt ⇒ Object
Returns the value of attribute rubyopt
32 33 34 |
# File 'lib/ocran/rubyopt_processor.rb', line 32 def rubyopt @rubyopt end |
Instance Method Details
#translated? ⇒ Boolean
33 34 35 |
# File 'lib/ocran/rubyopt_processor.rb', line 33 def translated? !load_paths.empty? || !requires.empty? end |