Class: DockerfileRB::User
- Inherits:
-
Object
- Object
- DockerfileRB::User
- Defined in:
- lib/dockerfile-rb/user.rb
Instance Attribute Summary collapse
-
#group_id ⇒ Object
readonly
Returns the value of attribute group_id.
-
#user_id ⇒ Object
readonly
Returns the value of attribute user_id.
Instance Method Summary collapse
-
#initialize(user, group) ⇒ User
constructor
A new instance of User.
Constructor Details
#initialize(user, group) ⇒ User
Returns a new instance of User.
4 5 6 7 |
# File 'lib/dockerfile-rb/user.rb', line 4 def initialize(user, group) @user_id = user @group_id = group end |
Instance Attribute Details
#group_id ⇒ Object (readonly)
Returns the value of attribute group_id.
3 4 5 |
# File 'lib/dockerfile-rb/user.rb', line 3 def group_id @group_id end |
#user_id ⇒ Object (readonly)
Returns the value of attribute user_id.
3 4 5 |
# File 'lib/dockerfile-rb/user.rb', line 3 def user_id @user_id end |