Class: ClosureTree::Configuration
- Inherits:
-
Object
- Object
- ClosureTree::Configuration
- Defined in:
- lib/closure_tree/configuration.rb
Overview
:nodoc:
Instance Attribute Summary collapse
-
#database_less ⇒ Object
Returns the value of attribute database_less.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
5 6 7 |
# File 'lib/closure_tree/configuration.rb', line 5 def initialize @database_less = ENV['DATABASE_URL'].to_s.include?('//user:[email protected]/') end |
Instance Attribute Details
#database_less ⇒ Object
Returns the value of attribute database_less.
3 4 5 |
# File 'lib/closure_tree/configuration.rb', line 3 def database_less @database_less end |