Module: Pageflow::RailsVersion Private

Extended by:
RailsVersion
Included in:
RailsVersion
Defined in:
lib/pageflow/rails_version.rb

This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.

Instance Method Summary collapse

Instance Method Details

#detectObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



6
7
8
# File 'lib/pageflow/rails_version.rb', line 6

def detect
  from_env || '~> 7.1.0'
end

#experimental?Boolean

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns:

  • (Boolean)


10
11
12
# File 'lib/pageflow/rails_version.rb', line 10

def experimental?
  detect != '~> 7.1.0'
end