Class: RHosts::Configuration
- Inherits:
-
Object
- Object
- RHosts::Configuration
- Defined in:
- lib/rhosts/configuration.rb
Instance Attribute Summary collapse
-
#backup_dir ⇒ Object
Returns the value of attribute backup_dir.
-
#hosts_file_path ⇒ Object
Returns the value of attribute hosts_file_path.
-
#make_backup ⇒ Object
Returns the value of attribute make_backup.
Instance Method Summary collapse
Instance Attribute Details
#backup_dir ⇒ Object
Returns the value of attribute backup_dir.
3 4 5 |
# File 'lib/rhosts/configuration.rb', line 3 def backup_dir @backup_dir end |
#hosts_file_path ⇒ Object
Returns the value of attribute hosts_file_path.
3 4 5 |
# File 'lib/rhosts/configuration.rb', line 3 def hosts_file_path @hosts_file_path end |
#make_backup ⇒ Object
Returns the value of attribute make_backup.
3 4 5 |
# File 'lib/rhosts/configuration.rb', line 3 def make_backup @make_backup end |
Instance Method Details
#make_backup? ⇒ Boolean
5 6 7 |
# File 'lib/rhosts/configuration.rb', line 5 def make_backup? make_backup end |