Class: PolishGeeks::DevTools::Validators::Rails
- Defined in:
- lib/polish_geeks/dev_tools/validators/rails.rb
Overview
It verifies if Rails is available
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from PolishGeeks::DevTools::Validators::Base
Instance Method Details
#valid? ⇒ Boolean
6 7 8 |
# File 'lib/polish_geeks/dev_tools/validators/rails.rb', line 6 def valid? Object.const_defined?('Rails') end |