Class: Rdm::Config
- Inherits:
-
Object
- Object
- Rdm::Config
- Defined in:
- lib/rdm/config.rb
Instance Attribute Summary collapse
-
#default_path ⇒ Object
Returns the value of attribute default_path.
-
#name ⇒ Object
Returns the value of attribute name.
-
#role_path ⇒ Object
Returns the value of attribute role_path.
Class Method Summary collapse
Instance Attribute Details
#default_path ⇒ Object
Returns the value of attribute default_path.
2 3 4 |
# File 'lib/rdm/config.rb', line 2 def default_path @default_path end |
#name ⇒ Object
Returns the value of attribute name.
2 3 4 |
# File 'lib/rdm/config.rb', line 2 def name @name end |
#role_path ⇒ Object
Returns the value of attribute role_path.
2 3 4 |
# File 'lib/rdm/config.rb', line 2 def role_path @role_path end |
Class Method Details
.build(name:, default_path:, role_path:) ⇒ Object
4 5 6 7 8 9 10 |
# File 'lib/rdm/config.rb', line 4 def self.build(name:, default_path:, role_path:) new.tap do |i| i.name = name i.default_path = default_path i.role_path = role_path end end |