Module: Pageflow::RailsVersion

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

Instance Method Summary collapse

Instance Method Details

#detectObject



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

def detect
  from_env || '~> 7.1.0'
end

#experimental?Boolean

Returns:

  • (Boolean)


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

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