Class: RailsRealtimeErd::Configuration
- Inherits:
-
Object
- Object
- RailsRealtimeErd::Configuration
- Defined in:
- lib/rails-realtime-erd/configuration.rb
Instance Attribute Summary collapse
-
#auto_mount ⇒ Object
Returns the value of attribute auto_mount.
-
#enabled_environments ⇒ Object
Returns the value of attribute enabled_environments.
-
#mount_path ⇒ Object
Returns the value of attribute mount_path.
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 8 9 |
# File 'lib/rails-realtime-erd/configuration.rb', line 5 def initialize @mount_path = "/rails/erd" @auto_mount = true @enabled_environments = %w[development test] end |
Instance Attribute Details
#auto_mount ⇒ Object
Returns the value of attribute auto_mount.
3 4 5 |
# File 'lib/rails-realtime-erd/configuration.rb', line 3 def auto_mount @auto_mount end |
#enabled_environments ⇒ Object
Returns the value of attribute enabled_environments.
3 4 5 |
# File 'lib/rails-realtime-erd/configuration.rb', line 3 def enabled_environments @enabled_environments end |
#mount_path ⇒ Object
Returns the value of attribute mount_path.
3 4 5 |
# File 'lib/rails-realtime-erd/configuration.rb', line 3 def mount_path @mount_path end |