Class: RubyClone::Profile
- Inherits:
-
Object
- Object
- RubyClone::Profile
- Defined in:
- lib/ruby_clone/profile.rb
Instance Attribute Summary collapse
-
#from_folder ⇒ Object
Returns the value of attribute from_folder.
-
#name ⇒ Object
Returns the value of attribute name.
-
#to_folder ⇒ Object
Returns the value of attribute to_folder.
Instance Method Summary collapse
-
#initialize(name) ⇒ Profile
constructor
A new instance of Profile.
- #to_s ⇒ Object
Constructor Details
#initialize(name) ⇒ Profile
Returns a new instance of Profile.
83 84 85 |
# File 'lib/ruby_clone/profile.rb', line 83 def initialize(name) @name = name.to_s end |
Instance Attribute Details
#from_folder ⇒ Object
Returns the value of attribute from_folder.
80 81 82 |
# File 'lib/ruby_clone/profile.rb', line 80 def from_folder @from_folder end |
#name ⇒ Object
Returns the value of attribute name.
79 80 81 |
# File 'lib/ruby_clone/profile.rb', line 79 def name @name end |
#to_folder ⇒ Object
Returns the value of attribute to_folder.
81 82 83 |
# File 'lib/ruby_clone/profile.rb', line 81 def to_folder @to_folder end |
Instance Method Details
#to_s ⇒ Object
87 88 89 |
# File 'lib/ruby_clone/profile.rb', line 87 def to_s @name end |