Class: NextRails::BundleReport::RubyVersionCompatibility
- Inherits:
-
Object
- Object
- NextRails::BundleReport::RubyVersionCompatibility
- Defined in:
- lib/next_rails/bundle_report/ruby_version_compatibility.rb
Constant Summary collapse
- MINIMAL_VERSION =
1.0
Instance Attribute Summary collapse
-
#gems ⇒ Object
readonly
Returns the value of attribute gems.
-
#options ⇒ Object
readonly
Returns the value of attribute options.
Instance Method Summary collapse
- #generate ⇒ Object
-
#initialize(gems: NextRails::GemInfo.all, options: {}) ⇒ RubyVersionCompatibility
constructor
A new instance of RubyVersionCompatibility.
Constructor Details
#initialize(gems: NextRails::GemInfo.all, options: {}) ⇒ RubyVersionCompatibility
Returns a new instance of RubyVersionCompatibility.
7 8 9 10 |
# File 'lib/next_rails/bundle_report/ruby_version_compatibility.rb', line 7 def initialize(gems: NextRails::GemInfo.all, options: {}) @gems = gems @options = end |
Instance Attribute Details
#gems ⇒ Object (readonly)
Returns the value of attribute gems.
5 6 7 |
# File 'lib/next_rails/bundle_report/ruby_version_compatibility.rb', line 5 def gems @gems end |
#options ⇒ Object (readonly)
Returns the value of attribute options.
5 6 7 |
# File 'lib/next_rails/bundle_report/ruby_version_compatibility.rb', line 5 def @options end |
Instance Method Details
#generate ⇒ Object
12 13 14 15 16 |
# File 'lib/next_rails/bundle_report/ruby_version_compatibility.rb', line 12 def generate return unless valid? end |