Class: CIAgainst::Converter
- Inherits:
-
Object
- Object
- CIAgainst::Converter
- Defined in:
- lib/ci_against/converter.rb
Constant Summary collapse
- LATEST_RUBIES =
%w[ 2.6.5 2.5.7 2.4.9 2.3.8 2.2.10 2.1.10 ]
- VERSION_REGEXP =
/\d+\.\d+\.\d+/
Instance Attribute Summary collapse
-
#log ⇒ Object
readonly
Returns the value of attribute log.
Instance Method Summary collapse
- #convert ⇒ Object
-
#initialize(yml_string) ⇒ Converter
constructor
A new instance of Converter.
Constructor Details
Instance Attribute Details
#log ⇒ Object (readonly)
Returns the value of attribute log.
13 14 15 |
# File 'lib/ci_against/converter.rb', line 13 def log @log end |
Instance Method Details
#convert ⇒ Object
23 24 25 26 27 |
# File 'lib/ci_against/converter.rb', line 23 def convert update_to_latest_rubies insert_new_rubies @yml.code end |