Class: Paperclip::RailsEnvironment
- Inherits:
-
Object
- Object
- Paperclip::RailsEnvironment
- Defined in:
- lib/paperclip/rails_environment.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.get ⇒ Object
3 4 5 |
# File 'lib/paperclip/rails_environment.rb', line 3 def self.get new.get end |
Instance Method Details
#get ⇒ Object
7 8 9 10 11 12 13 |
# File 'lib/paperclip/rails_environment.rb', line 7 def get if rails_exists? && rails_environment_exists? Rails.env else nil end end |